############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:RcisTarget.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/site-library --timings RcisTarget_1.20.0.tar.gz ### ############################################################################## ############################################################################## * using log directory ‘/home/biocbuild/bbs-3.17-bioc/meat/RcisTarget.Rcheck’ * using R version 4.3.1 (2023-06-16) * using platform: x86_64-pc-linux-gnu (64-bit) * R was compiled by gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0 GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0 * running under: Ubuntu 22.04.3 LTS * using session charset: UTF-8 * checking for file ‘RcisTarget/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘RcisTarget’ version ‘1.20.0’ * 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 ‘RcisTarget’ can be installed ... OK * checking installed package size ... NOTE installed size is 12.1Mb sub-directories of 1Mb or more: data 11.5Mb * 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 R 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 ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘RcisTarget-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: addSignificantGenes > ### Title: Add significant genes > ### Aliases: addSignificantGenes addSignificantGenes,list-method > ### addSignificantGenes,character-method > ### addSignificantGenes,GeneSet-method > ### addSignificantGenes,GeneSetCollection-method getSignificantGenes > ### getSignificantGenes,list-method getSignificantGenes,character-method > ### getSignificantGenes,factor-method getSignificantGenes,GeneSet-method > ### getSignificantGenes,GeneSetCollection-method > > ### ** Examples > > > ################################################## > # Setup & previous steps in the workflow: > > #### Gene sets > # As example, the package includes an Hypoxia gene set: > txtFile <- paste(file.path(system.file('examples', package='RcisTarget')), + "hypoxiaGeneSet.txt", sep="/") > geneLists <- list(hypoxia=read.table(txtFile, stringsAsFactors=FALSE)[,1]) > > #### Databases > ## Motif rankings: Select according to organism and distance around TSS > ## (See the vignette for URLs to download) > # motifRankings <- importRankings("hg19-500bp-upstream-7species.mc9nr.feather") > > ## For this example we will use a SUBSET of the ranking/motif databases: > library(RcisTarget.hg19.motifDBs.cisbpOnly.500bp) > data(hg19_500bpUpstream_motifRanking_cispbOnly) > motifRankings <- hg19_500bpUpstream_motifRanking_cispbOnly > > ## Motif - TF annotation: > data(motifAnnotations_hgnc_v9) # human TFs (for motif collection 9) > motifAnnotation <- motifAnnotations_hgnc_v9 > > ### Run RcisTarget > # Step 1. Calculate AUC > motifs_AUC <- calcAUC(geneLists, motifRankings) > # Step 2. Select significant motifs, add TF annotation & format as table > motifEnrichmentTable <- addMotifAnnotation(motifs_AUC, + motifAnnot=motifAnnotation) > > ################################################## > > ################################################## > # (This step: Step 3) > # Identify the genes that have the motif significantly enriched > # (i.e. genes from the gene set in the top of the ranking) > par(mfrow=c(1,2)) > motifEnrichmentTable_wGenes <- addSignificantGenes(motifEnrichmentTable, + genesFormat="geneList", + plotCurve=TRUE, + geneSets=geneLists, + rankings=motifRankings, + method="aprox") Error in .getSignificantGenes(geneSet = geneSet, rankings = rankings, : Package 'zoo' is required to calculate the aproximate RCC distributions.To install it, run: install.packages('zoo') Calls: addSignificantGenes ... .addSignificantGenes -> lapply -> FUN -> .getSignificantGenes 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: genesFormat = genesFormat, nCores = nCores, digits = 3, nMean = nMean)`: Package 'zoo' is required to calculate the aproximate RCC distributions.To install it, run: install.packages('zoo') Backtrace: ▆ 1. └─RcisTarget (local) test_Workflow() 2. └─RcisTarget (local) .check_addSignificantGenes(...) at test_RcisTarget.R:258:2 3. ├─RcisTarget::addSignificantGenes(...) at test_RcisTarget.R:57:2 4. └─RcisTarget::addSignificantGenes(...) 5. └─RcisTarget:::.addSignificantGenes(...) 6. └─base::lapply(...) 7. └─RcisTarget (local) FUN(X[[i]], ...) 8. └─RcisTarget:::.getSignificantGenes(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 45 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking running R code from vignettes ... ‘RcisTarget_MainTutorial.Rmd’... OK ‘Tutorial_AnalysisOfGenomicRegions.Rmd’... OK ‘Tutorial_AnalysisWithBackground.Rmd’... OK NONE * checking re-building of vignette outputs ... ERROR Error(s) in re-building vignettes: ... --- re-building ‘RcisTarget_MainTutorial.Rmd’ using rmarkdown Quitting from lines 339-343 [addSignificantGenes] (RcisTarget_MainTutorial.Rmd) Error: processing vignette 'RcisTarget_MainTutorial.Rmd' failed with diagnostics: Package 'zoo' is required to calculate the aproximate RCC distributions.To install it, run: install.packages('zoo') --- failed re-building ‘RcisTarget_MainTutorial.Rmd’ --- re-building ‘Tutorial_AnalysisOfGenomicRegions.Rmd’ using rmarkdown trying URL 'https://gbiomed.kuleuven.be/apps/lcb/i-cisTarget/examples/input_files/human/peaks/Encode_GATA1_peaks.bed' Content type 'application/vnd.realvnc.bed' length 23897 bytes (23 KB) ================================================== downloaded 23 KB --- finished re-building ‘Tutorial_AnalysisOfGenomicRegions.Rmd’ --- re-building ‘Tutorial_AnalysisWithBackground.Rmd’ using rmarkdown --- finished re-building ‘Tutorial_AnalysisWithBackground.Rmd’ SUMMARY: processing the following file failed: ‘RcisTarget_MainTutorial.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * DONE Status: 3 ERRORs, 1 NOTE See ‘/home/biocbuild/bbs-3.17-bioc/meat/RcisTarget.Rcheck/00check.log’ for details.