- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘scNPM/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘scNPM’ version ‘1.0.6’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘scNPM’ can be installed ... [41s/49s] OK
See the install log for details.
- used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
- used SDK: ‘MacOSX11.3.1.sdk’
- checking C++ specification ... OK
- checking installed package size ... INFO
installed size is 8.1Mb
sub-directories of 1Mb or more:
libs 7.3Mb
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/5s] OK
- checking loading without being on the library search path ... [2s/4s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [8s/17s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [1s/3s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking compiled code ... OK
- checking examples ... [3s/7s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/19s] ERROR
Running ‘testthat.R’ [9s/19s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(scNPM)
>
> test_check("scNPM")
Saving _problems/test-staged-fdr-158.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 537 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-staged-fdr.R:158:5'): invalid stage budgets and insufficient stability cannot produce discoveries ──
Expected `staged_run(a)` to throw a error.
Backtrace:
▆
1. ├─scNPM (local) staged_single_thread(...) at test-staged-fdr.R:156:3
2. │ └─base::force(code) at test-staged-fdr.R:3:47
3. └─testthat::expect_error(staged_run(a), "Matching did not stabilize") at test-staged-fdr.R:158:5
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 537 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [7s/10s] OK
- DONE
Status: 1 ERROR