Git Product home page Git Product logo

Comments (5)

eddelbuettel avatar eddelbuettel commented on June 3, 2024

Ok, it's late here -- but if Rob's forecast fails to build for you (and I note that this is a reliable package that has worked for years) why is that an error in Rcpp ?

Also, you are an entire year of R behind using 4.1.2. We are now at the 4.2 series with R 4.2.3 current.

from rcpp.

eddelbuettel avatar eddelbuettel commented on June 3, 2024

I just did the following:

$ docker run --rm -ti rocker/r-base     # standard R 4.2.3, in this case on Debian
R> install.packages("forecast")
.... goes off for a few minutes as `forecast` has quite the tail of depedencies ...
.... errors because `curl` needed a header so that stops so I `system("apt update -qq && apt install r-cran-curl")`
... followed by another 
R> install.packages("forecast")
R> library(forecast)

so it all works. Even better for Ubuntu systems: r2u. Here is quick demo -- taking all of eleven seconds:

forecast_2023-03-30_23-49

In short, I see no Rcpp issue. If you have one that is reproducible on current systems and does not contradict the perfect status of forecast at CRAN (see https://cloud.r-project.org/web/checks/check_results_forecast.html) I would be all ears and you should re-open this. Until then I think we can close this.

from rcpp.

eddelbuettel avatar eddelbuettel commented on June 3, 2024

Also, as you are on PopOS which should be close enough to Ubuntu: you can run r2u on your system. It is just a matter of adding new repos for both R itself (from CRAN) and r2u -- and then you all of CRAN as binaries. Give it a read at https://eddelbuettel.github.io/r2u/

I close this now.

from rcpp.

alejandrohagan avatar alejandrohagan commented on June 3, 2024

hey! thanks for respoding. I installed the packages through my terminal rather than Rstudio and it managed to install everything that I needed and it works now

Regarding R 4.1 vs 4.2 its strange because when i go to install r-base it it tells me I'm using the latest r version

Anyways, it works now so thank you

from rcpp.

eddelbuettel avatar eddelbuettel commented on June 3, 2024

No worries. When an install fails it generally does not hurt to check

  • what the status of the same package on the most closesely matching architecture at CRAN is
  • whether R and other packages are current because that is what CRAN uses

The results page there is good and very useful.

from rcpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.