Bioconductor/BiocFileCache

cleanbfc uses wrong format strings

Closed this issue · 0 comments

LTLA commented
library(BiocFileCache)
bfc <- BiocFileCache(ask=FALSE)
stuff <- bfcrpath(bfc, "https://google.com")
cleanbfc(bfc)
## Error in sprintf("Remove id %d %d", sQuote(rids), ifelse(cached, txt0,  :
##   invalid format '%d'; use format %s for character objects
Session information
R Under development (unstable) (2020-11-09 r79409)
Platform: x86_64-apple-darwin19.5.0 (64-bit)
Running under: macOS Catalina 10.15.5

Matrix products: default
BLAS:   /Users/luna/Software/R/trunk/lib/libRblas.dylib
LAPACK: /Users/luna/Software/R/trunk/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] BiocFileCache_1.99.6 dbplyr_2.1.1

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.6       magrittr_2.0.1   rappdirs_0.3.3   tidyselect_1.1.0
 [5] bit_4.0.4        R6_2.5.0         rlang_0.4.10     fastmap_1.1.0
 [9] fansi_0.4.2      blob_1.2.1       httr_1.4.2       dplyr_1.0.5
[13] tools_4.1.0      utf8_1.2.1       DBI_1.1.1        withr_2.4.2
[17] ellipsis_0.3.1   bit64_4.0.5      assertthat_0.2.1 tibble_3.1.1
[21] lifecycle_1.0.0  crayon_1.4.1     purrr_0.3.4      vctrs_0.3.7
[25] curl_4.3         memoise_2.0.0    glue_1.4.2       cachem_1.0.4
[29] RSQLite_2.2.7    compiler_4.1.0   pillar_1.6.0     filelock_1.0.2
[33] generics_0.1.0   pkgconfig_2.0.3