config/compile_package.R

# install.packages("usethis", repos="http://cran.r-project.org")

library(devtools)
library(here)
library(utils)

dest_path = here("cape_pkg")
write("**********************************************************", stdout())
write(dest_path, stdout())
write("**********************************************************", stdout())
build_path <- devtools::build(pkg = here(), path = dest_path, binary = FALSE, quiet = FALSE)
doc <- devtools::document(pkg = here(), roclets=c('rd', 'collate', 'namespace', 'vignette'))
utils::install.packages(build_path, type="source", lib = dest_path)
TheJacksonLaboratory/CAPE documentation built on Feb. 12, 2024, 4:32 p.m.