Set the working directory to this repository:
setwd("~/src/MOTRPAC/MotrpacRatTraining6mo")
library(devtools)
Load all of the functions defined in ./R
:
load_all()
Use usethis::use_r()
and usethis::use_test()
.
See details here.
Use usethis::use_vignette("vignette-title")
, edit the .Rmd in vignettes/
,
and build it with devtools::build_rmd()
. See details here.