modeltime.gluonts
modeltime.gluonts copied to clipboard
Fail on remotes::install_github("business-science/modeltime.gluonts")
I'm getting an error upon installing modeltime.gluonts --- the error is on RcppParallel -- is this a known issue or something related to my setup?
options.cpp:2:10: fatal error: RcppParallel.h: No such file or directory #include <RcppParallel.h> ^~~~~~~~~~~~~~~~ compilation terminated. /usr/lib/R/etc/Makeconf:172: recipe for target 'options.o' failed make: *** [options.o] Error 1 ERROR: compilation failed for package ‘RcppParallel’
- removing ‘/usr/local/lib/R/site-library/RcppParallel’
- restoring previous ‘/usr/local/lib/R/site-library/RcppParallel’ Error: Failed to install 'unknown package' from GitHub: (converted from warning) installation of package ‘RcppParallel’ had non-zero exit status
I'm not aware of this. Are you able to install RcppParallel using install.packages("RcppParallel")
?
Just a quick inspection, I found this link to a thread on RStudio Community. https://community.rstudio.com/t/error-message-in-rstudio/10664/3
It suggests:
- Try installing RcppParallel by itself (then retry modeltime.gluonts)
- If on Windows, make sure you have Rtools installed.
Hi Matt - maybe i should have asked this on the slack channel and/or in your ts course questions, but I'm working on a sep machine with some restrictions so appreciate quick response here.
I need to try a few other things starting with a new env build. Are there any known issues running gluonts and supporting packages on the following R version and platform? I got an error that RcppParallel is not available for this version of R.
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 0.3
year 2020
month 10
day 10
svn rev 79318
language R
version.string R version 4.0.3 (2020-10-10)
nickname Bunny-Wunnies Freak Out
Try this:
install.packages("remotes")
remotes::install_github("RcppCore/RcppParallel")