business-science / modeltime.gluonts

GluonTS Deep Learning with Modeltime
https://business-science.github.io/modeltime.gluonts/
Other
39 stars 9 forks source link

Fail on remotes::install_github("business-science/modeltime.gluonts") #34

Open jam1245 opened 3 years ago

jam1245 commented 3 years ago

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

      ^~~~~~~~~~~~~~~~

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’

mdancho84 commented 3 years ago

I'm not aware of this. Are you able to install RcppParallel using install.packages("RcppParallel")?

mdancho84 commented 3 years ago

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:

  1. Try installing RcppParallel by itself (then retry modeltime.gluonts)
  2. If on Windows, make sure you have Rtools installed.
jam1245 commented 3 years ago

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

mdancho84 commented 3 years ago

Try this:

install.packages("remotes")
remotes::install_github("RcppCore/RcppParallel")