CRAN Package Check Results for Package scDHA

Last updated on 2024-11-09 06:50:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.2 45.39 127.73 173.12 OK
r-devel-linux-x86_64-debian-gcc 1.2.2 32.12 91.85 123.97 OK
r-devel-linux-x86_64-fedora-clang 1.2.2 306.84 OK
r-devel-linux-x86_64-fedora-gcc 1.2.2 313.73 OK
r-devel-windows-x86_64 1.2.2 45.00 137.00 182.00 OK
r-patched-linux-x86_64 1.2.2 45.88 120.87 166.75 OK
r-release-linux-x86_64 1.2.2 42.90 120.51 163.41 OK
r-release-macos-arm64 1.2.2 79.00 NOTE
r-release-macos-x86_64 1.2.2 118.00 NOTE
r-release-windows-x86_64 1.2.2 45.00 137.00 182.00 OK
r-oldrel-macos-arm64 1.2.2 85.00 ERROR
r-oldrel-macos-x86_64 1.2.2 205.00 NOTE
r-oldrel-windows-x86_64 1.2.2 59.00 181.00 240.00 OK

Check Details

Version: 1.2.2
Check: installed package size
Result: NOTE installed size is 7.3Mb sub-directories of 1Mb or more: data 4.1Mb libs 2.9Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(scDHA) libtorch is not installed. Use `torch::install_torch()` to download and install libtorch > > on_cran <- function() !identical(Sys.getenv("NOT_CRAN"), "true") > > if((!torch::torch_is_installed()) & + (tolower(Sys.info()[["sysname"]]) != "windows") & + (!on_cran())) + { + torch::install_torch() + } > > Sys.setenv(IN_TEST_scDHA="true") > > test_check("scDHA") [ FAIL 1 | WARN 0 | SKIP 2 | PASS 3 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-scDHA.R:3:3', 'test-scDHA.R:41:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-scDHA.R:21:3'): scDHA.vis can run ────────────────────────────── Error in `irlba::irlba(L, nv = n, nu = 0, maxit = iters)`: function 'as_cholmod_sparse' not provided by package 'Matrix' Backtrace: ▆ 1. └─scDHA::scDHA.vis(result, ncores = 2, seed = 1) at test-scDHA.R:21:3 2. └─uwot::umap(data, n_threads = ncores) 3. └─uwot:::uwot(...) 4. └─uwot:::spectral_init(V, ndim = n_components, verbose = verbose) 5. └─uwot:::irlba_tsvd_normalized_laplacian_init(A, ndim, verbose = FALSE) 6. └─uwot:::irlba_spectral_tsvd(L, ndim + 1) 7. ├─base::suppressWarnings(...) 8. │ └─base::withCallingHandlers(...) 9. └─irlba::irlba(L, nv = n, nu = 0, maxit = iters) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 3 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-arm64