pkg_template: Start a new project with the armadillo4r package template

View source: R/template.R

pkg_templateR Documentation

Start a new project with the armadillo4r package template

Description

Start a new project with the armadillo4r 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")

armadillo4r documentation built on Nov. 5, 2025, 6:23 p.m.