# Inline plugin used by 'Rcpp::sourceCpp()'.
inlineCxxPlugin <- function() {
list(
env = list(
PKG_CXXFLAGS = paste(
"$(CXX1XSTD)",
"-include", system.file("include/RcppNT2.h", package = "RcppNT2")
)
),
LinkingTo = "BH",
includes = "#include <RcppNT2.h>"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.