-
Notifications
You must be signed in to change notification settings - Fork 0
devtools functions
Gary Truong edited this page Jul 18, 2020
·
1 revision
devtools::create() # create a new package with the required folders
devtools::document() # generate documentation for the individual functions in the package
devtools::use_vignette() # create a vignette for the package if devtools < 2.1.0
usethat::use_vignette("introduction") # use "usethat" if devtools > 2.1.0
devtools::install_github("yourusername/myfirstpackage")
Testing testhat
Website pkgdown