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

Avoid stopping the installation for warning messages #17

Open
wenbostar opened this issue May 11, 2020 · 1 comment
Open

Avoid stopping the installation for warning messages #17

wenbostar opened this issue May 11, 2020 · 1 comment

Comments

@wenbostar
Copy link
Owner

> BiocManager::install("wenbostar/PGA")
Bioconductor version 3.9 (BiocManager 1.30.10), R 3.6.0 (2019-04-26)
Installing github package(s) 'wenbostar/PGA'
Downloading GitHub repo wenbostar/PGA@master
√  checking for file 'C:\Users\wb\AppData\Local\Temp\Rtmp6fyOgl\remotes269073a869ae\wenbostar-PGA-98cac29/DESCRIPTION' (934ms)
-  preparing 'PGA': (601ms)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'PGA_1.15.1.tar.gz'
   
* installing *source* package 'PGA' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'IRanges' was built under R version 3.6.1
Execution halted
ERROR: lazy loading failed for package 'PGA'
* removing 'e:/R/R-3.6.0/library/PGA'
* restoring previous 'e:/R/R-3.6.0/library/PGA'
Error: Failed to install 'PGA' from GitHub:
  (converted from warning) installation of package ‘C:/Users/**/AppData/Local/Temp/***/PGA_1.15.1.tar.gz’ had non-zero exit status
@wenbostar
Copy link
Owner Author

wenbostar commented May 11, 2020

## https://github.com/r-lib/remotes#environment-variables
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true")
BiocManager::install("wenbostar/PGA")

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

1 participant