Skip to contents

This creates create-[pkg_name].Rmd that when knitted (i.e., when passed to litr::render()) will create an R package called pkg_name. This template shows how to make an R package that uses Rcpp.

Usage

draft_rcpp(pkg_name = "withrcpp", dir = ".")

Arguments

pkg_name

Name of package to be created.

dir

(Optional) Directory where .Rmd file should be created