############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:BiocFileCache.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings BiocFileCache_3.0.0.tar.gz ### ############################################################################## ############################################################################## * using log directory ‘/Users/biocbuild/bbs-3.22-bioc/meat/BiocFileCache.Rcheck’ * using R version 4.5.2 Patched (2025-11-04 r88984) * using platform: aarch64-apple-darwin20 * R was compiled by Apple clang version 16.0.0 (clang-1600.0.26.6) GNU Fortran (GCC) 14.2.0 * running under: macOS Ventura 13.7.8 * using session charset: UTF-8 * using option ‘--no-vignettes’ * checking for file ‘BiocFileCache/DESCRIPTION’ ... OK * this is package ‘BiocFileCache’ version ‘3.0.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘BiocFileCache’ can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking whether startup messages can be suppressed ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘BiocFileCache-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: BiocFileCache-class > ### Title: BiocFileCache class > ### Aliases: BiocFileCache-class BiocFileCache > ### bfccache,BiocFileCacheBase-method bfccache bfccache,missing-method > ### length,BiocFileCacheBase-method bfcrid bfcrid,missing-method > ### bfcrid,BiocFileCacheReadOnly-method bfcrid,BiocFileCache-method > ### [,BiocFileCache,character,missing-method > ### [,BiocFileCacheReadOnly,character,missing-method > ### [,BiocFileCache,missing,missing-method > ### [,BiocFileCacheReadOnly,missing,missing-method > ### [[,BiocFileCacheBase,character,missing-method > ### [[<-,BiocFileCache,character,missing,character-method > ### bfcnew,missing-method bfcnew,BiocFileCache-method bfcnew > ### bfcadd,missing-method bfcadd,BiocFileCache-method bfcadd > ### bfcinfo,missing-method bfcinfo,BiocFileCacheBase-method bfcinfo > ### bfcrid,tbl_bfc-method bfcpath,missing-method > ### bfcpath,BiocFileCacheBase-method bfcpath bfcrpath,missing-method > ### bfcrpath,BiocFileCacheBase-method bfcrpath bfcupdate,missing-method > ### bfcupdate,BiocFileCache-method bfcupdate bfcmeta<- > ### bfcmeta<-,BiocFileCacheBase-method bfcmetaremove,missing-method > ### bfcmetaremove,BiocFileCacheBase-method bfcmetaremove > ### bfcmetalist,missing-method bfcmetalist,BiocFileCacheBase-method > ### bfcmetalist bfcmeta,missing-method bfcmeta,BiocFileCacheBase-method > ### bfcmeta bfcquerycols,missing-method > ### bfcquerycols,BiocFileCacheBase-method bfcquerycols > ### bfcquery,missing-method bfcquery,BiocFileCacheBase-method bfcquery > ### bfccount,missing-method bfccount,BiocFileCacheBase-method bfccount > ### bfccount,tbl_bfc-method bfcneedsupdate,missing-method > ### bfcneedsupdate,BiocFileCacheBase-method bfcneedsupdate > ### bfcdownload,missing-method bfcdownload,BiocFileCache-method > ### bfcdownload bfcremove,missing-method bfcremove,BiocFileCache-method > ### bfcremove bfcsync,missing-method bfcsync,BiocFileCache-method bfcsync > ### exportbfc,missing-method exportbfc,BiocFileCacheBase-method exportbfc > ### importbfc,character-method importbfc cleanbfc,missing-method > ### cleanbfc,BiocFileCache-method cleanbfc removebfc,missing-method > ### removebfc,BiocFileCache-method removebfc > ### show,BiocFileCacheBase-method > > ### ** Examples > > # bfc <- BiocFileCache() # global cache > # bfc > bfc0 <- BiocFileCache(tempfile()) # temporary catch for examples > bfccache(bfc0) [1] "/tmp/RtmpLJ9D0A/file20449b8b93f" > length(bfc0) [1] 0 > path <- bfcnew(bfc0, "NewResource") > path BFC1 "/tmp/RtmpLJ9D0A/file20449b8b93f/2047e89fce8_2047e89fce8" > fl1 <- tempfile(); file.create(fl1) [1] TRUE > bfcadd(bfc0, "Test1", fl1) # copy BFC2 "/tmp/RtmpLJ9D0A/file20449b8b93f/2045dc8aefc_file204153b243f" > fl2 <- tempfile(); file.create(fl2) [1] TRUE > bfcadd(bfc0, "Test2", fl2, action="move") # move BFC3 "/tmp/RtmpLJ9D0A/file20449b8b93f/204548fdfcf_file2042258527e" > fl3 <- tempfile(); file.create(fl3) [1] TRUE > add3 <- bfcadd(bfc0, "Test3", fl3, rtype="local", action="asis") # reference > rid3 <- names(add3) > > bfc0 class: BiocFileCache bfccache: /tmp/RtmpLJ9D0A/file20449b8b93f bfccount: 4 For more information see: bfcinfo() or bfcquery() > file.exists(fl1) # TRUE [1] TRUE > file.exists(fl2) # FALSE [1] FALSE > file.exists(fl3) # TRUE [1] TRUE > > # add a remote resource > url <- "https://httpbin.org/get" > bfcadd(bfc0, "TestWeb", fpath=url) Warning: download failed web resource path: ‘https://httpbin.org/get’ local file path: ‘/tmp/RtmpLJ9D0A/file20449b8b93f/20435320a35_get’ reason: HTTP 503 Service Unavailable. Warning: bfcadd() failed; resource removed rid: BFC5 fpath: ‘https://httpbin.org/get’ reason: download failed Error in .util_download(x, rid[i], proxy, progress, config, "bfcadd()", : bfcadd() failed; see warnings() Calls: bfcadd -> bfcadd -> .util_download Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: Backtrace: ▆ 1. ├─BiocFileCache::bfcadd(bfc, "test-3", url, rtype = "web") at test_BiocFileCache_class.R:182:1 2. └─BiocFileCache::bfcadd(bfc, "test-3", url, rtype = "web") 3. └─BiocFileCache:::.util_download(...) ── Failure ('test_makeBiocFileCacheFromDataFrame.R:70:5'): makeBiocFileCacheFromDataFrame works ── Expected `length(list.files(bfccache(newbfc)))` to be identical to 2L. Differences: 1/1 mismatches [1] 3 - 2 == 1 [ FAIL 3 | WARN 4 | SKIP 1 | PASS 85 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking running R code from vignettes ... SKIPPED * checking re-building of vignette outputs ... SKIPPED * checking PDF version of manual ... OK * DONE Status: 2 ERRORs See ‘/Users/biocbuild/bbs-3.22-bioc/meat/BiocFileCache.Rcheck/00check.log’ for details.