Documentation can be found here
To install the latest development snapshot, type following commands into the R console
# install.packages('devtools')
devtools::install_github("markanewman/mnmacros")
library(mnmacros)
# install libraries (if needed)
# install.packages('devtools')
# install.packages('roxygen2')
# install.packages('pkgdown')
# set working directory and clean files that will be regenerated
setwd("C:/repos/mnmacros")
unlink(c("./data/*", "./docs/*", "./man/*", "./NAMESPACE"), recursive = T)
# recompile the test data
testthat::source_dir('./data-raw')
# regenerate NAMESPACE
devtools::document()
# run the tests
devtools::test()
# add in github pages
pkgdown::build_site()
# full check before the package is CRAN ready
devtools::check()