examples/tmb_package_skeleton.R

\dontrun{
# create package with example code
tmb_package_skeleton(name = "TMBTestPackage", example_code = TRUE)
#'
# for the following steps must have devtools package installed
setwd("TMBTestPackage")
# need to create shared library before running devtools::document()
pkgbuild::compile_dll()
devtools::document()
# essentially equivalent to R CMD check --as-cran
devtools::check()
}
mlysy/TMBtools documentation built on April 1, 2022, 6:18 p.m.