Closed robjhyndman closed 3 years ago
Here it is, running in a terminal.
> library(fable.prophet)
Loading required package: Rcpp
Loading required package: fabletools
> library(tsibble)
> as_tsibble(USAccDeaths) %>%
+ model(
+ prophet = prophet(value ~ season("year", 4, type = "multiplicative"))
+ )
*** caught segfault ***
address 0x151405, cause 'memory not mapped'
I can't reproduce this, what package versions are you using?
library(fable.prophet)
#> Loading required package: Rcpp
#> Loading required package: fabletools
library(tsibble)
as_tsibble(USAccDeaths) %>%
model(
prophet = prophet(value ~ season("year", 4, type = "multiplicative"))
)
#> # A mable: 1 x 1
#> prophet
#> <model>
#> 1 <prophet>
Created on 2020-12-08 by the reprex package (v0.3.0)
prophet v0.6.1 (from CRAN) and fable.prophet v 0.1.0.9000 (from github)
It looks like it is a prophet problem, as I get the same issue running the example in the help for prophet::prophet
.
Hmm, I'm using prophet v0.6.1 without issue.
What's your version of {rstan}
?
rstan
v2.12.2.
The problem seems to have been resolved by updating prophet to the dev version. Possibly related to this commit: https://github.com/facebook/prophet/commit/d7cd1f299dc773f35a6c79bc6eaaaea314638d20#diff-8c2574892063f995fdf756bce07f46c1a5193e54cd52837ed91e32008ccf41ac
I'm using {rstan}
v2.21.2 without issue.
Any idea what is going on here. The example is taken from
help(fable.prophet::prophet)
.