CRAN Package Check Results for Package CRMetrics

Last updated on 2024-12-21 19:49:30 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 11.98 291.56 303.54 OK
r-devel-linux-x86_64-debian-gcc 0.3.2 10.77 234.67 245.44 OK
r-devel-linux-x86_64-fedora-clang 0.3.2 225.85 OK
r-devel-linux-x86_64-fedora-gcc 0.3.2 211.34 OK
r-devel-windows-x86_64 0.3.2 15.00 316.00 331.00 OK
r-patched-linux-x86_64 0.3.2 13.93 301.75 315.68 OK
r-release-linux-x86_64 0.3.2 13.81 306.13 319.94 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 17.00 317.00 334.00 OK
r-oldrel-macos-arm64 0.3.2 69.00 ERROR
r-oldrel-macos-x86_64 0.3.2 213.00 OK
r-oldrel-windows-x86_64 0.3.2 19.00 382.00 401.00 OK

Check Details

Version: 0.3.2
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/10s] 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