Last updated on 2025-12-28 03:52:12 CET.
| Package | ERROR | OK |
|---|---|---|
| mixKernel | 13 | |
| NiLeDAM | 13 | |
| RNAseqNet | 13 | |
| SISIR | 13 | |
| SOMbrero | 13 | |
| treediff | 1 | 12 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
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.