UNM Stats R Package Development “R-Hack-a-Pack”


Workshop at The UNM Dept of Math & Stats on Friday 8/17/2018 10AM-5PM.

Erik Erhardt

Please click this link to RSVP.
No workshop fee.  Food and caffeine contribution: $10-15.
Math & Stat event link.

 

I’m going to host an R Package Development R-Hack-a-Pack one-day workshop on Friday 8/17 from 10-5.  This is like a “hack-a-thon”, but, instead of tackling a dataset analysis, the goal is to learn and use the skills to package R code.  The first hour or so will cover the basic ideas of packaging code using modern tools such as RStudio, devtools, and usethis.  The rest of the day is intended as a protected time where you can turn your code into a package. We’ll cover the basics of creating a package, package testing, writing vignettes, and using github (and CRAN) for version control and making your package available.

To get the most out of this workshop, bring a package idea to start on.  A few ideas:

  1. If you already have a set of functions that you load with script(“my_functions.R”), then you’re an afternoon away from making a great package.
  2. If you have a large script with repeated code, then you can start by turning the repeated code into functions, package those functions, and write a short vignette to perform the same analysis using your package.
  3. If you have an idea for a new package to develop, bring that idea with you and we can consider trying to develop it during the workshop.
  4. My project is to package all the code and data for my two-semester data analysis course while I’m not helping others.
Food and helper:
If you would like to volunteer to be a helper during the day for logistical issues, please email me directly.  It would be nice to have lunch and an afternoon coffee break with a snack.