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 due to "package '...' was built under R version x.y.z" #434

Closed
jcheng5 opened this issue Sep 5, 2019 · 4 comments
Closed

Comments

@jcheng5
Copy link
Member

jcheng5 commented Sep 5, 2019

@shalutiwari got this warning->error when trying to install hadley/shinySignals:

Error: (converted from warning) package 'shiny' was built under R version 3.6.1

Setting Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS=TRUE) fixes it, but it was surprising to us that such a benign and common situation would stop the install.

@jimhester
Copy link
Member

The warning is coming from R library(), I don't think there is a whole lot we can do. We don't want to get in the business of filtering warnings and install.packages() and friends issue warnings rather than errors for many cases when the package fails to install, such as when the package is loaded in the current session.

Ideally install.packages() would be improved to issue errors on failure conditions and warnings or messages otherwise, but this doesn't seem high on the agenda for R core.

@gustavdelius
Copy link

Luckily this issue is currently being reconsidered at #403

@nasiegel88
Copy link

@shalutiwari got this warning->error when trying to install hadley/shinySignals:

Error: (converted from warning) package 'shiny' was built under R version 3.6.1

Setting Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS=TRUE) fixes it, but it was surprising to us that such a benign and common situation would stop the install.

You sir are a hero

@rozerinyildiz
Copy link

Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS=TRUE)

It worked for me, thank u so much sir.

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

5 participants