Learn R Programming

cpp11eigen (version 0.2.0)

pkg_template: Start a new project with the cpp11eigen package template

Description

Start a new project with the cpp11eigen package template

Usage

pkg_template(path = NULL, pkgname = NULL)

Value

The file path to the copied template (invisibly).

Arguments

path

Path to the new project

pkgname

Name of the new package

Examples

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

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

Run the code above in your browser using DataLab