Start a new project with the cpp11armadillo package template
pkg_template(path = NULL, pkgname = NULL)
Path to the new project
Name of the new package
The file path to the copied template (invisibly).
# create a new directory
dir <- tempdir()
dir.create(dir)
#> Warning: '/tmp/RtmpgtuXtr' already exists
# copy the package template into the directory
pkg_template(dir, "mynewpkg")