Category Archives: TidyX Screen Cast

TidyX Episode 158: Writing Package Vignettes

Ellis Hughes and I have been working through our series on writing your own R packages with custom functions. Today, we discuss how to go about setting up Vignettes for your R package. Vignettes are a great way for R package authors to offer suggestions about how they intend the package functions to work in order to build more comprehensive analysis. This is different than the simple examples used on the help pages (which we talked about last week) because a Vignette is usually a more full scale application from data loading to visualization to analysis. Additionally, Vignettes are written in RMarkdown, which allow the author to provide more more written text and explanations.

To watch our screen cast, CLICK HERE.

To access our code, CLICK HERE.

TidyX Episode 156: Using Roxygen to set up custom functions in your R packages

Join Ellis Hughes and I as we continue our work from last week and build towards creating a full package with bespoke functions. Last week we discussed the functions that we’d be using in the package as well as why it might be useful to actually create a package with your commonly used functions. This week we show how to use Roxygen to creat those functions in your R-package so that they are accessible to the end use.

 

To watch our screen cast, CLICK HERE.

To access our code, CLICK HERE.

TidyX Episode 155: Functions for Custom Packages

This week, Ellis Hughes and I start a new series were we build a custom R package with bespoke functions that we wrote. This can be a great way to be efficient in your work (e.g., if there are tasks that you always find yourself doing) and ensure that your analytics team are all using the same functions, for quality control purposes. Write a package that contains the relevant functions and then all people have to do is call the package library and they are ready to role. This week we start with the functions that the package will contain.

To watch the screen cast, CLICK HERE.

To access our code, CLICK HERE.

TidyX Episode 154: Data Packaging – Documenting and Sharing

This week, Ellis Hughes and I put the final touches on our 3 part series about how to create your own package with data scraped from the web. This episode discusses the documentation and sharing process of package development and then we also show how to set up a package vignette, to provide a worked example of how to use the R package.

To watch the screen cast, CLICK HERE.

To access our code, CLICK HERE.