* using log directory 'd:/Rcompile/CRANpkg/local/4.0/PeakSegJoint.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'PeakSegJoint/DESCRIPTION' ... OK * this is package 'PeakSegJoint' version '2022.4.6' * 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 whether package 'PeakSegJoint' can be installed ... OK * checking installed package size ... OK * checking package 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 * loading checks for arch 'i386' ** 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 use of S3 registration ... OK * loading checks for arch 'x64' ** 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 use of S3 registration ... 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 ... [8s] 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 line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... ** running examples for arch 'i386' ... [7s] OK ** running examples for arch 'x64' ... [2s] ERROR Running examples in 'PeakSegJoint-Ex.R' failed The error most likely occurred in: > ### Name: PeakSegJointError > ### Title: PeakSegJointError > ### Aliases: PeakSegJointError > > ### ** Examples > > > library(PeakSegJoint) > data(H3K36me3.TDH.other.chunk1, envir=environment()) > lims <- c(43000000, 43200000) # left > some.counts <- + subset(H3K36me3.TDH.other.chunk1$counts, + lims[1] < chromEnd & chromStart < lims[2]) > some.regions <- + subset(H3K36me3.TDH.other.chunk1$regions, + lims[1] < chromEnd & chromStart < lims[2]) > fit <- PeakSegJointSeveral(some.counts) * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [64s] OK Running 'testthat.R' [64s] ** running tests for arch 'x64' ... [3s] ERROR Running 'testthat.R' [2s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > suite <- Sys.getenv("TEST_SUITE") > if(suite=="")suite <- NULL > test_check("PeakSegJoint", filter=suite) Loading required package: PeakSegJoint * checking PDF version of manual ... OK * DONE Status: 2 ERRORs