CRAN Package Check Results for Package treediff

Last updated on 2025-12-28 01:48:55 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 45.81 397.78 443.59 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 33.60 286.63 320.23 OK
r-devel-linux-x86_64-fedora-clang 0.2.1 80.00 636.59 716.59 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 80.00 626.37 706.37 OK
r-devel-windows-x86_64 0.2.1 44.00 304.00 348.00 ERROR
r-patched-linux-x86_64 0.2.1 42.43 368.59 411.02 OK
r-release-linux-x86_64 0.2.1 44.16 369.98 414.14 OK
r-release-macos-arm64 0.2.1 OK
r-release-macos-x86_64 0.2.1 27.00 280.00 307.00 OK
r-release-windows-x86_64 0.2.1 45.00 316.00 361.00 OK
r-oldrel-macos-arm64 0.2.1 OK
r-oldrel-macos-x86_64 0.2.1 26.00 225.00 251.00 OK
r-oldrel-windows-x86_64 0.2.1 61.00 429.00 490.00 OK

Check Details

Version: 0.2.1
Check: examples
Result: ERROR Running examples in 'treediff-Ex.R' failed The error most likely occurred in: > ### Name: HiC2Tree > ### Title: Convert Hi-C to trees > ### Aliases: HiC2Tree > > ### ** Examples > > replicates <- 1:3 > cond <- c("90", "110") > all_begins <- interaction(expand.grid(replicates, cond), sep = "-") > all_begins <- as.character(all_begins) > > # single chromosome > nb_chr <- 1 > chromosomes <- 1:nb_chr > all_mat_chr <- lapply(chromosomes, function(chr) { + all_mat <- lapply(all_begins, function(ab) { + mat_file <- paste0("Rep", ab, "-chr", chr, "_200000.bed") + }) + all_mat <- unlist(all_mat) + }) > index <- system.file("extdata", "index.200000.longest18chr.abs.bed", + package = "treediff") > format <- rep("HiC-Pro", length(replicates) * length(cond) * nb_chr) > binsize <- 200000 > files <- system.file("extdata", unlist(all_mat_chr), package = "treediff") > replicates <- c(3, 3) > HiC2Tree(files, format, binsize, index, chromosomes, replicates) Parsing 'D:/RCompile/CRANpkg/lib/4.6/treediff/extdata/Rep1-90-chr1_200000.bed' and 'D:/RCompile/CRANpkg/lib/4.6/treediff/extdata/index.200000.longest18chr.abs.bed'. Error in `[.data.table`(tabChromosomes, index == minIndex, `:=`(minStart, : attempt access index 7/7 in VECTOR_ELT Calls: HiC2Tree ... .fillHiCDOCDataSet -> .determineChromosomeSizes -> [ -> [.data.table Execution halted Flavor: r-devel-windows-x86_64

Version: 0.2.1
Check: tests
Result: ERROR Running 'testthat.R' [19s] Running the tests in 'tests/testthat.R' failed. Complete output: > library("testthat") > library("treediff") > > test_check("treediff") Saving _problems/test-HiC2Tree-26.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 29 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-HiC2Tree.R:26:1'): (code run outside of `test_that()`) ───────── Error in ``[.data.table`(tabChromosomes, index == minIndex, `:=`(minStart, round(start/width)), by = .(seqnames))`: attempt access index 7/7 in VECTOR_ELT Backtrace: ▆ 1. └─treediff::HiC2Tree(...) at test-HiC2Tree.R:26:1 2. └─treediff::HiCDOCDataSet(...) 3. └─base::sapply(...) 4. └─base::lapply(X = X, FUN = FUN, ...) 5. └─treediff (local) FUN(X[[i]], ...) 6. └─HiCDOC::HiCDOCDataSetFromHiCPro(...) 7. └─HiCDOC:::.fillHiCDOCDataSet(object) 8. └─HiCDOC:::.determineChromosomeSizes(object) 9. ├─...[] 10. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 29 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.