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

ERROR: dependency 'config' is not available for package 'sparklyr' #230

Closed
saraswatmks opened this issue Sep 26, 2016 · 3 comments
Closed
Labels

Comments

@saraswatmks
Copy link

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:/PROGRA1/MICROS1/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)
@kevinushey
Copy link
Contributor

kevinushey commented Sep 26, 2016

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.

@saraswatmks
Copy link
Author

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")

@kevinushey
Copy link
Contributor

Great to hear, thanks!

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

No branches or pull requests

2 participants