inst/include/README.md

This directory contains header files which can be imported by other R packages using the LinkingTo: directive in the DESCRIPTION file. See https://r-pkgs.org/src.html?q=linkingto#cpp-import

Note: if this contains a file leapfrog.h (the same as the package name), then when building the package Rcpp::compileAttributes() will add the line #include ../include/leapfrog.h in src/RcppExports.cpp. This creates a clash with multiple loading of some Eigen libraries on Windows (only; fine on Linux and Mac environment).

I am unsure why at the moment, but for now avoid leapfrog.h until resolved.



mrc-ide/leapfrog documentation built on Oct. 14, 2024, 9:46 a.m.