Chapter 3 Make a package
Let’s start making a package!
3.1 in RStudio
3.2 on your command line
Using the devtools
package:
Or, with the mason
package:
install first:
devtools::install_github("metacran/mason")
devtools::install_github("metacran/mason.rpkg")
devtools::install_github("metacran/mason.github")
Create a package
See https://github.com/metacran/mason for details
3.3 usethis
Optionally, you can use the usethis
package https://github.com/r-lib/usethis
to help in package creation/maintainance.