pkg_template {cpp11armadillo}R Documentation

Start a new project with the cpp11armadillo package template

Description

Start a new project with the cpp11armadillo package template

Usage

pkg_template(path = NULL, pkgname = NULL)

Arguments

path

Path to the new project

pkgname

Name of the new package

Value

The file path to the copied template (invisibly).

Examples

# create a new directory
dir <- tempdir()
dir.create(dir)

# copy the package template into the directory
pkg_template(dir, "mynewpkg")

[Package cpp11armadillo version 0.2.8 Index]