Comments (5)
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.
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:
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.
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.
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.
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)
- Compiler warning on windows-arm64 (libc++) HOT 3
- Figure 3 incorrect caption in Rcpp-introduction vignette HOT 2
- Upstreaming `std::tuple<>` support HOT 10
- sourceCpp crashes R when called about 1000 times on same code HOT 10
- Integer overflow in `MatrixRow` offset calculations for large matrices HOT 8
- Switch from S4SXP to OBJSXP HOT 2
- pass by const refererence HOT 1
- A fresh -Wformat-security issue under r-devel HOT 9
- 'CRAN package Rcpp' notice HOT 5
- Installation/Compiling Error for Package with Rcpp dependency - Ubuntu (rvmf.cpp?) HOT 5
- Exporting classes using `Rcpp::interfaces(cpp)` that are shared among multiple cpp files through header file HOT 13
- test_packageversion fails with Rcpp 1.0.12 HOT 3
- Question regarding replacement by reference of <RTYPE>Array class without making copy HOT 8
- Cannot make std::vector<int8_t> from NumericVector HOT 4
- issue building phangorn 2.11 for wasm HOT 3
- New warnings from -Wconversion -Wno-sign-conversion HOT 12
- compileAttributes and use of .External2() for calling native symbol routine HOT 6
- Exporting comments into function definitions HOT 3
- `Rcpp:::LdFlags()` does not work correctly with R 4.4.0, pulling in warnings from `R` as if they were objects for the linker HOT 6
- Warning from -Wdelete-non-virtual-dtor when using a .finalizer function HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcpp.