############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/R/R/bin/R CMD check --install=check:cTRAP.install-out.txt --library=/home/biocbuild/R/R/site-library --no-vignettes --timings cTRAP_1.24.0.tar.gz ### ############################################################################## ############################################################################## * using log directory ‘/home/biocbuild/bbs-3.20-bioc/meat/cTRAP.Rcheck’ * using R version 4.4.1 (2024-06-14) * using platform: aarch64-unknown-linux-gnu * R was compiled by gcc (GCC) 12.2.1 20220819 (openEuler 12.2.1-14) GNU Fortran (GCC) 10.3.1 * running under: openEuler 22.03 (LTS-SP1) * using session charset: UTF-8 * using option ‘--no-vignettes’ * checking for file ‘cTRAP/DESCRIPTION’ ... OK * this is package ‘cTRAP’ version ‘1.24.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 ... NOTE Found the following hidden files and directories: .devcontainer These were most likely included in error. See section ‘Package structure’ in the ‘Writing R Extensions’ manual. * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘cTRAP’ can be installed ... OK * checking installed package size ... NOTE installed size is 5.1Mb sub-directories of 1Mb or more: data 4.3Mb * checking package directory ... OK * checking DESCRIPTION meta-information ... NOTE License stub is invalid DCF. * 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 loading without being on the library search path ... 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 ... NOTE Found the following possibly unsafe calls: File ‘cTRAP/R/shinyInterface_session.R’: assignInNamespace("dataTablesFilter", dt_mod, "DT") plotComparison: no visible binding for global variable ‘.data’ plotMetricDistribution: no visible binding for global variable ‘.data’ plotSingleCorr: no visible binding for global variable ‘.data’ plotTargetingDrug: no visible binding for global variable ‘.data’ plotTargetingDrugsVSsimilarPerturbations: no visible binding for global variable ‘.data’ Undefined global functions or variables: .data * 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 ... NOTE Documented arguments not in \usage in Rd file 'compareWithAllMethods.Rd': ‘rankByAscending’ Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter ‘Writing R documentation files’ in the ‘Writing R Extensions’ manual. * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... NOTE Note: found 1 marked UTF-8 string * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘cTRAP-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: analyseDrugSetEnrichment > ### Title: Analyse drug set enrichment > ### Aliases: analyseDrugSetEnrichment > > ### ** Examples > > descriptors <- loadDrugDescriptors() compound_descriptors_NCI60_2D.qs not found: downloading data... trying URL 'https://compbio.imm.medicina.ulisboa.pt/public/cTRAP/compound_descriptors_NCI60_2D.qs' Warning in download.file(link, file, mode = mode) : URL 'https://compbio.imm.medicina.ulisboa.pt/public/cTRAP/compound_descriptors_NCI60_2D.qs': status was 'Could not resolve hostname' Error in download.file(link, file, mode = mode) : cannot open URL 'https://compbio.imm.medicina.ulisboa.pt/public/cTRAP/compound_descriptors_NCI60_2D.qs' Calls: loadDrugDescriptors ... loadRemotePreProcessedData -> downloadIfNotFound -> download.file Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘spelling.R’ Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: • On Bioconductor (1): 'test_ENCODE.R:16:5' • empty test (1): 'test_drugSetEnrichment.R:88:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_drugSensitivity.R:4:1'): (code run outside of `test_that()`) ─── Error in `download.file(link, file, mode = mode)`: cannot open URL 'https://compbio.imm.medicina.ulisboa.pt/public/cTRAP/expressionDrugSensitivityCorGDSC7.qs' Backtrace: ▆ 1. └─cTRAP::loadExpressionDrugSensitivityAssociation("GDSC 7") at test_drugSensitivity.R:4:1 2. └─cTRAP:::downloadIfNotFound(link, file) 3. └─utils::download.file(link, file, mode = mode) [ FAIL 1 | WARN 1 | SKIP 2 | PASS 221 ] 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, 6 NOTEs See ‘/home/biocbuild/bbs-3.20-bioc/meat/cTRAP.Rcheck/00check.log’ for details.