use_rcpp {usethis} | R Documentation |
Use C, C++, RcppArmadillo, or RcppEigen
Description
Adds infrastructure commonly needed when using compiled code:
Creates
src/
Adds required packages to
DESCRIPTION
May create an initial placeholder
.c
or.cpp
fileCreates
Makevars
andMakevars.win
files (use_rcpp_armadillo()
only)
Usage
use_rcpp(name = NULL)
use_rcpp_armadillo(name = NULL)
use_rcpp_eigen(name = NULL)
use_c(name = NULL)
Arguments
name |
Either a string giving a file name (without directory) or
|
[Package usethis version 3.0.0 Index]