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 Installing rscopus #30

Closed
joseprieto opened this issue Nov 12, 2019 · 1 comment
Closed

Error Installing rscopus #30

joseprieto opened this issue Nov 12, 2019 · 1 comment

Comments

@joseprieto
Copy link

joseprieto commented Nov 12, 2019

After installing devtool and Rtools's packages, when I code:
devtools::install_github("muschellij2/rscopus")
It retrieves the following:
Error: Failed to install 'rscopus' from GitHub: (converted from warning) cannot remove prior installation of package ‘curl’

The first part of the installation request you wheter update some packages or not. In this example, I don't make any update- It seems that curl is installed by default.

@muschellij2
Copy link
Owner

This is not an rscopus issue, but rather something from remotes.

Try

withr::with_envvar(c(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true"), 
  remotes::install_github('muschellij2/rscopus')
)

or

Sys.setenv(R_REMOTES_STANDALONE="true")
remotes::install_github('muschellij2/rscopus')

and see https://github.com/r-lib/remotes#environment-variables

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

2 participants