Angel Medina
Angel Medina

Reputation: 26

Unable to install Rcpp package when loading forecast

When I try to load the forecast package it trows me the error that there is not Rcpp package which it depends on

by trying to install Rcpp package manually i get the following error

install.packages("Rcpp")

Installing package into ‘C:/Users/~~~’
(as ‘lib’ is unspecified)

  There is a binary version available but the source version is later:
      binary  source needs_compilation
Rcpp 0.12.10 0.12.11              TRUE

  Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/Rcpp_0.12.10.zip'
Warning in install.packages :
  cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/Rcpp_0.12.10.zip': HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/Rcpp_0.12.10.zip'
Warning in install.packages :
  download of package ‘Rcpp’ failed

Upvotes: 0

Views: 405

Answers (1)

Dirk is no longer here
Dirk is no longer here

Reputation: 368499

This is a likely duplicate. You misunderstand the meaning of There is a binary version available but the source version is later..

Install from source, use a different mirror, or just wait.

The 0.12.11 binary is clearly there in Vienna and at the 0-cloud mirrors.

Upvotes: 1

Related Questions