manual build of vignette fails
Closed this issue · 1 comments
vjcitn commented
Using render("BiocFileCache.Rmd", BiocStyle::html_document())
label: unnamed-chunk-25
delete 2 entries? (yes/no): yes
delete 2 files? (yes/no): yes
Quitting from lines 480-497 (BiocFileCache.Rmd)
Error in bfcremove(bfc, rmMe) : all(rids %in% bfcrid(x)) is not TRUE
Selection: 0
I think the interruption to ask for permission to delete should be avoided.
In the following BiocFileCache version is 2.3.4 because I bumped it for my fork/branch.
But there have been no code changes.
> sessionInfo()
R Under development (unstable) (2021-11-10 r81171)
Platform: aarch64-apple-darwin20.6.0 (64-bit)
Running under: macOS Monterey 12.1
Matrix products: default
BLAS: /Users/vincentcarey/R-dev-dist/lib/R/lib/libRblas.dylib
LAPACK: /Users/vincentcarey/R-dev-dist/lib/R/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] dplyr_1.0.7 BiocFileCache_2.3.4 dbplyr_2.1.1
[4] BiocStyle_2.23.1 rmarkdown_2.11
loaded via a namespace (and not attached):
[1] Rcpp_1.0.7 bslib_0.3.1 compiler_4.2.0
[4] pillar_1.6.4 BiocManager_1.30.16 jquerylib_0.1.4
[7] tools_4.2.0 bit_4.0.4 digest_0.6.29
[10] memoise_2.0.1 RSQLite_2.2.9 jsonlite_1.7.2
[13] evaluate_0.14 lifecycle_1.0.1 tibble_3.1.6
[16] pkgconfig_2.0.3 rlang_0.4.12 cli_3.1.0
[19] DBI_1.1.2 filelock_1.0.2 curl_4.3.2
[22] yaml_2.2.1 xfun_0.29 fastmap_1.1.0
[25] withr_2.4.3 httr_1.4.2 stringr_1.4.0
[28] knitr_1.37 rappdirs_0.3.3 generics_0.1.1
[31] vctrs_0.3.8 sass_0.4.0 bit64_4.0.5
[34] tidyselect_1.1.1 glue_1.6.0 R6_2.5.1
[37] fansi_0.5.0 bookdown_0.24 startup_0.16.0
[40] blob_1.2.2 purrr_0.3.4 magrittr_2.0.1
[43] htmltools_0.5.2 ellipsis_0.3.2 assertthat_0.2.1
[46] utf8_1.2.2 stringi_1.7.6 cachem_1.0.6
[49] crayon_1.4.2 Cairo_1.5-12.2
lshep commented
@vjcitn We always confirm deleting files as good practice; the vignette should use ask=FALSE so that it does it automatically but I will check to confirm. I'm not sure why using render("BiocFileCache.Rmd", BiocStyle::html_document())
would cause an error but building/checking under R CMD build and R CMD check does not? This seems an odd behavior or environment of render?