Installation
This header-only library is meant to be used in a shared library that is linked against the R framework, e.g., in an R package or with Rcpp.
Manual include
You may copy the standalone header file into a suitable include directory.
R package library
You may install the integratecpp
R package Via
remotes::install_github("hsloot/integratecpp")
Packages
Include the following in your DESCRIPTION
file:
LinkingTo: integratecpp
Rcpp
Use Rcpp’s plugin attributes:
// [[Rcpp::plugins(cpp11)]]
// [[Rcpp::depends(integratecpp)]]
#include <integratecpp.h>
// your code