Skip to content
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

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

Open
jam1245 opened this issue Aug 3, 2021 · 4 comments
Open

Comments

@jam1245
Copy link

jam1245 commented Aug 3, 2021

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
@mdancho84
Copy link
Contributor

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

@mdancho84
Copy link
Contributor

mdancho84 commented Aug 3, 2021

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
Copy link
Author

jam1245 commented Aug 5, 2021

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
Copy link
Contributor

Try this:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants