You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remotes::install_github() converts warnings about dependencies that cannot be installed (e.g., because of missing binaries) into errors. This is different from the install.packages() behavior in non-github installations by BiocManager.
This can be made consistent by setting an environment variable Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS, FALSE) prior to calling remotes::install_github().
Is this a good idea?
Actually, the use case is that the PACKAGES index isn't available for all types of packages, even though the package of interest is not found in the repository where PACKAGES does not exist.
The text was updated successfully, but these errors were encountered:
mtmorgan
changed the title
Don't allow remotes::install_github() to convert warnings to errors on unavailable packages
Don't allow remotes::install_github() to convert warnings to errors on unavailable PACKAGES file
Jan 19, 2019
Having the user (me) set the environment variable seems like a reasonable compromise. I haven't thought through all the ramifications of setting it in BiocManager::install.
After CRAN binaries for Mac become available, this will be a moot point, anyway, at least for the case I mentioned in the email.
remotes::install_github() converts warnings about dependencies that cannot be installed (e.g., because of missing binaries) into errors. This is different from the install.packages() behavior in non-github installations by BiocManager.
This can be made consistent by setting an environment variable
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS, FALSE)
prior to calling remotes::install_github().Is this a good idea?
Actually, the use case is that the PACKAGES index isn't available for all types of packages, even though the package of interest is not found in the repository where PACKAGES does not exist.
See https://stat.ethz.ch/pipermail/bioc-devel/2019-January/014560.html
@seandavi
The text was updated successfully, but these errors were encountered: