DataCache.dev.R

library(devtools)

# Package building
document()
build()
install()

# This will build the vignette (from doc directory) and copy to the
# vignettes folder. This will prevent it from building from R CMD CHECK
# which fails.
knitr::knit('DataCache/doc/DataCache.Rmd', 'DataCache/vignettes/DataCache.Rmd')
build_vignettes('DataCache')

check('DataCache')

# Running the package
librdevtools::install_github('jbryer/DataCache')
vignette('DataCache')
demo('WeatherCache')
jbryer/DataCache documentation built on May 18, 2019, 7 p.m.