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

Install fails on "Error: unable to load R code in package 'kirkegaard'" #88

Closed
sbibauw opened this issue Jul 19, 2019 · 3 comments
Closed

Comments

@sbibauw
Copy link

sbibauw commented Jul 19, 2019

First, thank you for making your code public :-)
I was trying to install your package, but the installation failed on "Error: unable to load R code in package 'kirkegaard'"
First:

Error in loadNamespace(name) : there is no package called 'curry'

Then I installed curry from CRAN (version 0.1.1), and I got this error on trying to install your package again:

 Error : 'set_defaults' is not an exported object from 'namespace:curry'

Has there been a change in the dependencies? Maybe it is another curry?

@jhaltiga
Copy link

jhaltiga commented Jul 19, 2019 via email

@Deleetdk
Copy link
Owner

The curry package has to be installed manually. The code I normally use is given in the README:

purrr::map(c("thomasp85/curry", "rOpenGov/dkstat"), ~devtools::install_github(.))

I don't normally have issues with this on linux. As @jhaltiga says above, reinstalling by deleting the package dir usually fixes odd errors like this.

@sbibauw
Copy link
Author

sbibauw commented Jul 20, 2019

The curry package has to be installed manually. The code I normally use is given in the README:

purrr::map(c("thomasp85/curry", "rOpenGov/dkstat"), ~devtools::install_github(.))

Thanks! It did work immediately after installing it this way (I even didn't have to uninstall the previous curry install, just running this line was enough).

Sorry I had not seen this line in the README.

@sbibauw sbibauw closed this as completed Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants