Sparklyr: ERROR: dependency 'config' is not available for package 'sparklyr'

Created on 26 Sep 2016  路  3Comments  路  Source: sparklyr/sparklyr

Hi
I am facing in trouble in installing sparklyr package. I've followed installation steps as guided on tutorial page. I have installed devtools package successfully, but the next step throws error. Don't know where am I missing. Any help?

The downloaded binary packages are in

devtools::install_github("rstudio/sparklyr")
Downloading GitHub repo rstudio/sparklyr@master
from URL https://api.github.com/repos/rstudio/sparklyr/zipball/master
Installing sparklyr
Skipping 1 unavailable package: config
"C:/PROGRA~1/MICROS~1/MRO/R-33~1.0/bin/x64/R" --no-site-file --no-environ --no-save \
--no-restore --quiet CMD INSTALL \
\
--library="C:/Users/manish/Documents/R/win-library/3.3" --install-tests
ERROR: dependency 'config' is not available for package 'sparklyr'

  • removing 'C:/Users/manish/Documents/R/win-library/3.3/sparklyr'
    Error: Command failed (1)
install

Most helpful comment

It looks like you're using MRO, which I'm guessing is also checkpointed to a CRAN release that does not have the config package available.

You'll have to manually install config yourself from https://cran.r-project.org/package=config. Or switch yourself to using the RStudio CRAN mirror, with e.g.

options(repos = c(CRAN = "https://cran.rstudio.com"))

Or, try installing config manually, with e.g. install.packages("config") -- maybe that will work out of the box.

All 3 comments

It looks like you're using MRO, which I'm guessing is also checkpointed to a CRAN release that does not have the config package available.

You'll have to manually install config yourself from https://cran.r-project.org/package=config. Or switch yourself to using the RStudio CRAN mirror, with e.g.

options(repos = c(CRAN = "https://cran.rstudio.com"))

Or, try installing config manually, with e.g. install.packages("config") -- maybe that will work out of the box.

Hi Kevin
It worked. Thanks you so much!
To install config package I had to explicitly mention the repository address: install.packages("config",repos="http://cran.us.r-project.org")

Great to hear, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dsblr picture dsblr  路  4Comments

javierluraschi picture javierluraschi  路  4Comments

admoseremic picture admoseremic  路  4Comments

joscani picture joscani  路  4Comments

VadymBoikov picture VadymBoikov  路  3Comments