CRAN Package Check Results for Package CRMetrics

Last updated on 2024-12-26 03:49:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 14.70 293.78 308.48 OK
r-devel-linux-x86_64-debian-gcc 0.3.2 10.84 233.62 244.46 OK
r-devel-linux-x86_64-fedora-clang 0.3.2 225.85 OK
r-devel-linux-x86_64-fedora-gcc 0.3.2 206.55 OK
r-devel-windows-x86_64 0.3.2 17.00 308.00 325.00 OK
r-patched-linux-x86_64 0.3.2 14.88 303.04 317.92 OK
r-release-linux-x86_64 0.3.2 13.75 306.09 319.84 OK
r-release-macos-arm64 0.3.2 118.00 OK
r-release-macos-x86_64 0.3.2 194.00 OK
r-release-windows-x86_64 0.3.2 15.00 321.00 336.00 OK
r-oldrel-macos-arm64 0.3.2 73.00 ERROR
r-oldrel-macos-x86_64 0.3.2 213.00 OK
r-oldrel-windows-x86_64 0.3.2 21.00 384.00 405.00 OK

Check Details

Version: 0.3.2
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(CRMetrics) > > test_check("CRMetrics") Attaching package: 'magrittr' The following objects are masked from 'package:testthat': equals, is_less_than, not Adding list of 4 count matrices. Running preprocessing using pagoda2... 3000 cells, 10000 genes; normalizing ... Using plain model Winsorizing ... log scale ... done. calculating variance fit ... using gam 0 overdispersed genes ... 0 persisting ... done. running PCA using 3000 OD genes . . [ FAIL 2 | WARN 0 | SKIP 0 | PASS 3 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests.R:34:3'): Check preprocessing ───────────────────────────────── Error in `irlba(x, nv = nPcs, nu = 0, center = cm, right_only = FALSE, fastpath = fastpath, maxit = maxit, reorth = TRUE, ...)`: function 'as_cholmod_sparse' not provided by package 'Matrix' Backtrace: ▆ 1. └─crm$doPreprocessing(min.transcripts.per.cell = 0, min.cells.per.gene = 0) at tests.R:34:3 2. └─base::lapply(...) 3. └─pagoda2 (local) FUN(X[[i]], ...) 4. └─p2$calculatePcaReduction(...) 5. └─irlba::irlba(...) ── Error ('tests.R:41:3'): Check embedding object ────────────────────────────── Error in `crm$createEmbedding(arg.embedGraph = list(method = "largeVis"))`: No preprocessed count matrices found, please run doPreprocessing. Backtrace: ▆ 1. └─crm$createEmbedding(arg.embedGraph = list(method = "largeVis")) at tests.R:41:3 [ FAIL 2 | WARN 0 | SKIP 0 | PASS 3 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-arm64