


─ installing *source* package ‘pfexamplesinr’. home/edd/git/stackoverflow/68985867/pfexamplesinr/R/RcppExports.R updated. home/edd/git/stackoverflow/68985867/pfexamplesinr/src/RcppExports.cpp updated. Rcpp::List rcppeigen_bothproducts(const Eigen::VectorXd& x)Įxports from /home/edd/git/stackoverflow/68985867/pfexamplesinr/src/resamplers.h:Įxports from /home/edd/git/stackoverflow/68985867/pfexamplesinr/src/rv_eval.h:Įxports from /home/edd/git/stackoverflow/68985867/pfexamplesinr/src/rv_samp.h: roxy.r -fĮxports from /home/edd/git/stackoverflow/68985867/pfexamplesinr/src/likelihoods.cpp:ĭouble svolApproxLL(Eigen::Map y, Eigen::Map thetaProposal, Eigen::Map uProposal)Įxports from /home/edd/git/stackoverflow/68985867/pfexamplesinr/src/rcppeigen_hello_world.cpp:Įigen::MatrixXd rcppeigen_outerproduct(const Eigen::VectorXd& x)ĭouble rcppeigen_innerproduct(const Eigen::VectorXd& x) In other words, a vanilla bug at your end, independent of Rcpp or other tools. I end in tears because your code uses C++17 statements without specifying C++17 as a compilation standard. (using these helper scripts from my littler package), Roxy.r -f # shell wrapper for roxygenize() When I clone your repo onto a machine with 'current everything' from CRAN running Ubuntu 21.04 and doing my usual two-step of compAttr.r # shell wrapper for Rcpp::compileAttributes

This error, as it happens not infrequently, appears to be one deeper down 'hidden' by devtools::document(). Thanks for providing the URL to the repro.
