This note is for myself from reading
Many file creation and update can be accomplished with usethis
.
Some that I found useful are
create_pacakge()
: starts a packageuse_rcpp_eigen()
: makes package appropriate for RcppEigenuse_roxygen_md()
: converts markdown in roxygen docummentation to Rd syntaxuse_package()
: specify a pacakge dependencyuse_vignette()
: create a vignette
devtools::build_vignettes()
compiles vignettes onlydevtools::build()
builds package including vignettesdevtools::install_*(build_vignettes = TRUE)
builds vignettes (build_vignettes = FALSE
is default)use_git()
: initialize a git repository