Create a new litr .Rmd document for creating an R package that uses RcppArmadillo
draft_armadillo.Rd
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 RcppArmadillo
.
Arguments
- pkg_name
Name of package to be created.
- dir
(Optional) Directory where .Rmd file should be created