CRAN Package Check Results for Package tailor

Last updated on 2025-12-06 00:49:03 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 4.84 67.71 72.55 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 3.61 24.62 28.23 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 12.00 100.18 112.18 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 27.00 87.29 114.29 OK
r-devel-windows-x86_64 0.1.0 6.00 79.00 85.00 OK
r-patched-linux-x86_64 0.1.0 5.44 61.63 67.07 OK
r-release-linux-x86_64 0.1.0 4.33 62.74 67.07 OK
r-release-macos-arm64 0.1.0 OK
r-release-macos-x86_64 0.1.0 4.00 50.00 54.00 OK
r-release-windows-x86_64 0.1.0 7.00 79.00 86.00 OK
r-oldrel-macos-arm64 0.1.0 OK
r-oldrel-macos-x86_64 0.1.0 5.00 53.00 58.00 OK
r-oldrel-windows-x86_64 0.1.0 8.00 97.00 105.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/3s] 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(tailor) > > test_check("tailor") Attaching package: 'modeldata' The following object is masked from 'package:datasets': penguins Saving _problems/test-extract-30.R Saving _problems/test-extract-54.R Saving _problems/test-extract-86.R Saving _problems/test-extract-103.R Saving _problems/test-utils-70.R [ FAIL 5 | WARN 0 | SKIP 20 | PASS 74 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (11): 'test-adjust-predictions-custom.R:63:1', 'test-adjust-probability-threshold.R:43:1', 'test-extract.R:72:1', 'test-utils.R:13:1', 'test-utils.R:18:1', 'test-utils.R:43:1', 'test-utils.R:120:1', 'test-utils.R:178:1', 'test-utils.R:236:1', 'test-utils.R:258:1', 'test-utils.R:302:1' • {probably} is not installed (9): 'test-adjust-equivocal-zone.R:1:1', 'test-adjust-numeric-calibration.R:1:1', 'test-adjust-numeric-range.R:1:1', 'test-adjust-predictions-custom.R:44:3', 'test-adjust-probability-calibration.R:1:1', 'test-tailor.R:1:1', 'test-tidy.R:1:1', 'test-utils.R:99:3', 'test-validation-rules.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-extract.R:27:3'): extract parameter set from tailor with a tunable parameter ── Error in `adjust_numeric_range(adjust_numeric_calibration(tailor()), lower_limit = hardhat::tune())`: The probably package must be available to use this adjustment. Backtrace: ▆ 1. └─tailor::adjust_numeric_range(adjust_numeric_calibration(tailor()), lower_limit = hardhat::tune()) at test-extract.R:27:3 2. └─tailor:::validate_probably_available() 3. └─cli::cli_abort(...) 4. └─rlang::abort(...) ── Error ('test-extract.R:48:3'): extract parameter set from tailor with multiple tunable parameters ── Error in `adjust_numeric_range(adjust_numeric_calibration(tailor()), lower_limit = hardhat::tune(), upper_limit = hardhat::tune())`: The probably package must be available to use this adjustment. Backtrace: ▆ 1. └─tailor::adjust_numeric_range(...) at test-extract.R:48:3 2. └─tailor:::validate_probably_available() 3. └─cli::cli_abort(...) 4. └─rlang::abort(...) ── Error ('test-extract.R:84:3'): extract single parameter from tailor with no tunable parameters ── Error in `adjust_numeric_calibration(tailor())`: The probably package must be available to use this adjustment. Backtrace: ▆ 1. └─tailor::adjust_numeric_calibration(tailor()) at test-extract.R:84:3 2. └─tailor:::validate_probably_available() 3. └─cli::cli_abort(...) 4. └─rlang::abort(...) ── Error ('test-extract.R:97:3'): extract single parameter from tailor with tunable parameters ── Error in `adjust_numeric_range(adjust_numeric_calibration(tailor()), lower_limit = hardhat::tune(), upper_limit = hardhat::tune())`: The probably package must be available to use this adjustment. Backtrace: ▆ 1. └─tailor::adjust_numeric_range(...) at test-extract.R:97:3 2. └─tailor:::validate_probably_available() 3. └─cli::cli_abort(...) 4. └─rlang::abort(...) ── Error ('test-utils.R:58:3'): tailor_fully_trained works ───────────────────── Error in `adjust_probability_calibration(tailor(), "logistic")`: The probably package must be available to use this adjustment. Backtrace: ▆ 1. ├─testthat::expect_false(...) at test-utils.R:58:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─tailor::tailor_fully_trained(...) 5. │ └─tailor:::check_tailor(x) 6. │ └─tailor:::is_tailor(x) 7. ├─tailor::adjust_probability_threshold(...) 8. │ └─tailor:::check_tailor(x) 9. │ └─tailor:::is_tailor(x) 10. ├─generics::fit(...) 11. └─tailor::adjust_probability_calibration(tailor(), "logistic") 12. └─tailor:::validate_probably_available() 13. └─cli::cli_abort(...) 14. └─rlang::abort(...) [ FAIL 5 | WARN 0 | SKIP 20 | PASS 74 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc