-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rcpp error when using prophet::prophet() instead of library(prophet) #285
Comments
From searching for this issue it seems to be related to Rcpp, but we have already done the thing that I could find as a solution (include Rcpp in the Depends). We should see how rstanarm does this. |
Even |
Any updates on this? Having the same issue while writing a package using prophet's functions. |
@megan-stamper I haven't looked into this any further. @bgoodri would certainly know, though we do have Rcpp in the Depends so there must be something else going on. I think looking at other packages that call Stan might reveal if there is something that can be done to resolve this. |
If you have Rcpp in Depends, then I think it should work. |
@bgoodri We have Rcpp in depends:
NAMESPACE has these imports:
But still get the error when we call
Based on your comment in https://discourse.mc-stan.org/t/strange-new-error-when-running-code-that-has-always-worked-before/6846/2 I replaced Based on the comments in RcppCore/Rcpp#168 I also tried adding Do you have any suggestions on further directions to look? |
When I don't use
library(prophet)
and instead use the fully-qualifiedprophet::prophet
, I get the following in my console:I'm using the latest revision from master (via
devtools::install_github('facebookincubator/prophet', subdir='R')
)The text was updated successfully, but these errors were encountered: