CRAN Package Check Results for Package mknapsack

Last updated on 2025-11-14 01:51:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 2.05 28.16 30.21 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 1.64 22.17 23.81 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 42.67 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 124.57 ERROR
r-devel-windows-x86_64 0.1.0 6.00 44.00 50.00 OK
r-patched-linux-x86_64 0.1.0 2.14 24.73 26.87 OK
r-release-linux-x86_64 0.1.0 1.94 24.44 26.38 OK
r-release-macos-arm64 0.1.0 1.00 47.00 48.00 OK
r-release-macos-x86_64 0.1.0 3.00 82.00 85.00 OK
r-release-windows-x86_64 0.1.0 3.00 44.00 47.00 OK
r-oldrel-macos-arm64 0.1.0 1.00 36.00 37.00 OK
r-oldrel-macos-x86_64 0.1.0 2.00 54.00 56.00 OK
r-oldrel-windows-x86_64 0.1.0 4.00 51.00 55.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [86s/263s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > suppressPackageStartupMessages({ + library(testthat) + library(data.table) + }) > > test_check("mknapsack") Loading required package: mknapsack Saving _problems/test-packing-153.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 21 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-packing.R:146:5'): solver / calls correct method based on the option value ── <lifecycle_error_deprecated/defunctError/rlang_error/error/condition> Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct. ℹ Please use `with_mocked_bindings()` instead. Backtrace: ▆ 1. └─testthat::with_mock(...) at test-packing.R:146:5 2. └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()") 3. └─lifecycle:::deprecate_stop0(msg) 4. └─rlang::cnd_signal(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 21 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc