Closed bschilder closed 7 months ago
Even using the "--no-vignettes" flag during R checks produces the errors:
Loading required package: rcmdcheck
── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file 'D:\a\echolocatoR\echolocatoR/DESCRIPTION' ... OK
* preparing 'echolocatoR':
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
Error: --- re-building 'QTLs.Rmd' using rmarkdown
Quitting from lines 74-83 (QTLs.Rmd)
Error: Error: processing vignette 'QTLs.Rmd' failed with diagnostics:
'CreateProcess' failed to run 'C:\Users\RUNNER~1\AppData\Local\R\cache\R\ECHOFI~1\FINEMAP\FINEMA~1.1_X\FINEMA~1.1_X -h'
--- failed re-building 'QTLs.Rmd'
--- re-building 'docker.Rmd' using rmarkdown
--- finished re-building 'docker.Rmd'
--- re-building 'echolocatoR.Rmd' using rmarkdown
Quitting from lines 85-95 (echolocatoR.Rmd)
Error: Error: processing vignette 'echolocatoR.Rmd' failed with diagnostics:
Must provide a valid target_path.
--- failed re-building 'echolocatoR.Rmd'
--- re-building 'finemapping_portal.Rmd' using rmarkdown
Downloading: https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/ASXL3/multi_finemap/ASXL3.UKB.multi_finemap.csv.gz
trying URL 'https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/ASXL3/multi_finemap/ASXL3.UKB.multi_finemap.csv.gz'
Content type 'application/octet-stream' length 157348 bytes (153 KB)
==================================================
downloaded 153 KB
Downloading: https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/BIN3/multi_finemap/BIN3.UKB.multi_finemap.csv.gz
trying URL 'https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/BIN3/multi_finemap/BIN3.UKB.multi_finemap.csv.gz'
Content type 'application/octet-stream' length 230370 bytes (224 KB)
==================================================
downloaded 224 KB
Downloading: https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/ASXL3/LD/ASXL3.UKB.LD.csv.gz
trying URL 'https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/ASXL3/LD/ASXL3.UKB.LD.csv.gz'
Content type 'application/octet-stream' length 66098 bytes (64 KB)
==================================================
downloaded 64 KB
Downloading: https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/BIN3/LD/BIN3.UKB.LD.csv.gz
trying URL 'https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/BIN3/LD/BIN3.UKB.LD.csv.gz'
Content type 'application/octet-stream' length 100237 bytes (97 KB)
==================================================
downloaded 97 KB
--- finished re-building 'finemapping_portal.Rmd'
--- re-building 'summarise.Rmd' using rmarkdown
The magick package is required to crop "C:/Users/runneradmin/AppData/Local/Temp/RtmpAbYNk3/Rbuild5e81f88ea1/echolocatoR/vignettes/summarise_files/figure-html/super_summary_plot()-1.png" but not available.
--- finished re-building 'summarise.Rmd'
SUMMARY: processing the following files failed:
'QTLs.Rmd' 'echolocatoR.Rmd'
Error: Error: Vignette re-building failed.
Execution halted
Error: Error in proc$get_built_file() : Build process failed
Calls: <Anonymous> ... build_package -> with_envvar -> force -> <Anonymous>
Execution halted
Error: Process completed with exit code 1.
Run actions/upload-artifact@v2
Warning: No files were found with the provided path: check. No artifacts will be uploaded.
Thought it might be related to the RGL_USE_NULL
variable, but setting this var in the global env and then passing it to the R CMD step didnt seem to help:
https://github.com/r-lib/remotes/issues/332
Supporting the idea that this is unrelated, couldn't find any error messages relating to RGL, e.g.
Error : package ‘rgl’ could not be loaded
Looks like theres two main issues here.
Error: --- re-building 'QTLs.Rmd' using rmarkdown
Quitting from lines 74-83 (QTLs.Rmd)
Error: Error: processing vignette 'QTLs.Rmd' failed with diagnostics:
'CreateProcess' failed to run 'C:\Users\RUNNER~1\AppData\Local\R\cache\R\ECHOFI~1\FINEMAP\FINEMA~1.1_X\FINEMA~1.1_X -h'
I think the "~" might just be indicating an abbreviated path rather than an actual typo.
Quitting from lines 85-95 (echolocatoR.Rmd)
Error: Error: processing vignette 'echolocatoR.Rmd' failed with diagnostics:
Must provide a valid target_path.
Another error coming up in Linux Docker checks (but not when running in R console on Linux, nor when i run checks in Rstudio on my Mac):
Error in `grid.newpage()`: could not open file '/tmp/RtmpR72AYX/working_dir/Rtmpz2f6Oo/results/GWAS/Nalls23andMe_2019/BST1/multiview.BST1./usr/local/lib/R/site-library/echodata/extdata/BST1.1KGphase3.vcf.bgz.1x.png'
Backtrace:
▆
1. └─echolocatoR::finemap_loci(...) at test-finemap_loci.R:77:2
2. └─base::lapply(...)
3. └─echolocatoR (local) FUN(X[[i]], ...)
4. └─base::tryCatch(...)
5. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. └─value[[3L]](cond)
[ FAIL 1 | WARN 28 | SKIP 1 | PASS 28 ]
Error: Test failures
Execution halted
Seems similar to these issues in ggplot2
. I've heard through the Bioc developers mailing list there may be some issues with ggplot2
's latest release as well:
https://github.com/tidyverse/ggplot2/issues/2917
https://stackoverflow.com/questions/41307384/errors-warnings-when-running-ggplots
Might be related to "print" issues: https://github.com/r-lib/actions/issues/319#issuecomment-863992073 https://github.com/r-lib/devtools/issues/2407