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:
- 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.
- 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.
- 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.
- 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.