You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a package called RBesT which I keep in a git repo called BesT... this is why the directory I am using to develop is called BesT rather than RBesT. As a result the code here:
creates a src/BesT_types.hpp file. This file is then ignored by Rcpp which then fails to include the file into src/RcppExports.cpp. Rather than using the package directory as a way to determine the R package name, the much better way is to do as Rcpp does here:
Hi!
I have a package called
RBesT
which I keep in a git repo calledBesT
... this is why the directory I am using to develop is calledBesT
rather thanRBesT
. As a result the code here:rstantools/R/rstan_config.R
Line 221 in 99c0d66
creates a
src/BesT_types.hpp
file. This file is then ignored by Rcpp which then fails to include the file intosrc/RcppExports.cpp
. Rather than using the package directory as a way to determine the R package name, the much better way is to do as Rcpp does here:https://github.com/RcppCore/Rcpp/blob/6193de530785f1d84117a852cf7e478b1f048b2f/R/Attributes.R#L422
this use the package
DESCRIPTION
file to tweak out the R package name.The text was updated successfully, but these errors were encountered: