R/RcppPlugin.R

##' @importFrom Rcpp Rcpp.plugin.maker
inlineCxxPlugin <- Rcpp::Rcpp.plugin.maker(
    include.before = paste("#include<RcppEigen.h>",
                           "#include<covafill/Tree>",
                           "",
                           "typedef Eigen::Array<double,Eigen::Dynamic,1>  cVector;",
                           "typedef Eigen::MatrixXd cMatrix;",
                           "",
                           sep = "\n"),
    LinkingTo=c('covafillr','RcppEigen','Rcpp'),
    package = "covafillr"
)

Try the covafillr package in your browser

Any scripts or data that you put into this service are public.

covafillr documentation built on Dec. 1, 2019, 1:17 a.m.