Learn R Programming

Kmisc (version 0.5.0)

Rcpp_gen_makevars: Reproduce Rcpp Makevars Files

Description

If you're building a package and want a simple set of Makevars files to export, this function will handle it for you. Borrowed from the Rcpp rcpp.package.skeleton function.

Usage

Rcpp_gen_makevars(src = file.path(getwd(), "src"))
rcpp_gen_makevars(src = file.path(getwd(), "src"))

Arguments

src
the location to output the Makevars.