Start a new project with the cpp4r package template
Examples
# create a new directory
dir <- tempdir()
dir.create(dir)
#> Warning: '/tmp/Rtmpj9fne2' already exists
# copy the package template into the directory
pkg_template(dir, "mynewpkg")
Start a new project with the cpp4r package template
# create a new directory
dir <- tempdir()
dir.create(dir)
#> Warning: '/tmp/Rtmpj9fne2' already exists
# copy the package template into the directory
pkg_template(dir, "mynewpkg")