UNM Stats R Package Development "R-Hack-a-Pack" workshop
Event Type:
Other
Speaker:
Erik Erhardt
Event Date:
Friday, August 17, 2018 -
10:00am to 5:00pm
Location:
SMLC 356
Audience:
General PublicFaculty/StaffStudentsAlumni/Friends
Sponsor/s:
Statistics
Event Description:
Friday 8/17 from 10-5 at UNM SMLC 356
Please click these links to RSVP and for course materials.
No workshop fee. Food and caffeine contribution: $10-15.
I'm going to host an R Package Development "R-Hack-a-Pack" workshop. 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.
Helper wanted:
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.
I hope to see many of you there, RSVP,