(Adapted from a joint tutorial taught by Jenny Bryan, Jim Hester, and Hadley Wickham)
Essentials:
install.packages(c(
"devtools", "roxygen2",
"testthat", "covr"
))
usethis::use_course("http://bit.ly/30kL8QD")
For further pacakge development, I recommend System setup from R Packages.
Intro & basic package workflow
- slides
- foofactors2 what I made live
- foofactors more fully developed version of this example
Testing - slides
Documentation - slides
Issues <-- all are encouraged to open issues as we go. This is actually tremendously helpful to us! Examples of issue-worthy thoughts:
- Glitches in the instructions or materials that we need to fix, for current tutorial or future
- Missing content that we identify
- Great questions or sidebar discussions that we should consider formalizing and recording
- Questions that are too specific or technical to answer in real-time
- R Packages
- What They Forgot to Teach You About R (bookdown site)
- Happy Git and GitHub for the useR (bookdown site)