############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/R/R-4.3.1/bin/R CMD check --install=check:derfinder.install-out.txt --library=/home/biocbuild/R/R-4.3.1/site-library --no-vignettes --timings derfinder_1.36.0.tar.gz ### ############################################################################## ############################################################################## * using log directory ‘/home/biocbuild/bbs-3.18-bioc/meat/derfinder.Rcheck’ * using R version 4.3.1 (2023-06-16) * using platform: aarch64-unknown-linux-gnu (64-bit) * R was compiled by gcc (GCC) 10.3.1 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 ‘derfinder/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘derfinder’ version ‘1.36.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 ‘derfinder’ 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 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 ... WARNING A namespace must be able to be loaded with just the base namespace loaded: otherwise if the namespace gets loaded by a saved object, the session will be unable to start. Probably some imports need to be declared in the NAMESPACE file. * checking whether the namespace can be unloaded cleanly ... WARNING * checking loading without being on the library search path ... OK * checking dependencies in R code ... NOTE Unexported objects imported by ':::' calls: ‘GenomeInfoDb:::.guessSpeciesStyle’ ‘GenomeInfoDb:::.supportedSeqnameMappings’ See the note in ?`:::` about the use of this operator. There are ::: calls to the package's namespace in its code. A package almost never needs to use ::: for its own objects: ‘.smootherFstats’ * 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 LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘derfinder-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: railMatrix > ### Title: Identify regions data by a coverage filter and get a count > ### matrix from BigWig files > ### Aliases: railMatrix > > ### ** Examples > > > ## BigWig files are not supported in Windows > if (.Platform$OS.type != "windows") { + ## Get data + library("derfinderData") + + ## Identify sample files + sampleFiles <- rawFiles(system.file("extdata", "AMY", + package = + "derfinderData" + ), samplepatt = "bw", fileterm = NULL) + names(sampleFiles) <- gsub(".bw", "", names(sampleFiles)) + + ## Create the mean bigwig file. This file is normally created by Rail + ## but in this example we'll create it manually. + library("GenomicRanges") + fullCov <- fullCoverage(files = sampleFiles, chrs = "chr21") + meanCov <- Reduce("+", fullCov$chr21) / ncol(fullCov$chr21) + createBw(list("chr21" = DataFrame("meanChr21" = meanCov)), + keepGR = + FALSE + ) + + summaryFile <- "meanChr21.bw" + + ## Get the regions + regionMat <- railMatrix( + chrs = "chr21", summaryFiles = summaryFile, + sampleFiles = sampleFiles, L = 76, cutoff = 5.1, + maxClusterGap = 3000L + ) + + ## Explore results + names(regionMat$chr21) + regionMat$chr21$regions + dim(regionMat$chr21$coverageMatrix) + } Loading required package: stats4 Loading required package: BiocGenerics Attaching package: ‘BiocGenerics’ The following objects are masked from ‘package:stats’: IQR, mad, sd, var, xtabs The following objects are masked from ‘package:base’: Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted, lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table, tapply, union, unique, unsplit, which.max, which.min Loading required package: S4Vectors Attaching package: ‘S4Vectors’ The following object is masked from ‘package:utils’: findMatches The following objects are masked from ‘package:base’: I, expand.grid, unname Loading required package: IRanges * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘test-all.R’/home/biocbuild/R/R-4.3.1/bin/BATCH: line 60: 933085 Killed ${R_HOME}/bin/R -f ${in} ${opts} ${R_BATCH_OPTIONS} > ${out} 2>&1 ERROR Running the tests in ‘tests/test-all.R’ failed. Complete output: > ## Disable the tests if the system variable 'R_DISABLE_TESTS' is set to TRUE > > flag <- as.logical(Sys.getenv("R_DISABLE_TESTS")) > if (is.na(flag) | flag == FALSE) { + library("testthat") + test_check("derfinder") + } Loading required package: derfinder * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... 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, 2 WARNINGs, 1 NOTE See ‘/home/biocbuild/bbs-3.18-bioc/meat/derfinder.Rcheck/00check.log’ for details.