CRAN Package Check Results for Package CRMetrics

Last updated on 2024-12-18 19:49:11 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 16.20 301.42 317.62 OK
r-devel-linux-x86_64-debian-gcc 0.3.2 10.82 231.37 242.19 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 16.00 322.00 338.00 OK
r-patched-linux-x86_64 0.3.2 12.82 303.90 316.72 OK
r-release-linux-x86_64 0.3.2 12.96 305.21 318.17 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 70.00 ERROR
r-oldrel-macos-x86_64 0.3.2 213.00 OK
r-oldrel-windows-x86_64 0.3.2 21.00 370.00 391.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