CRAN Package Check Results for Package tidyposterior

Last updated on 2023-03-20 05:52:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 12.47 175.29 187.76 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 359.13 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 356.36 OK
r-patched-linux-x86_64 1.0.0 16.33 248.52 264.85 OK
r-release-linux-x86_64 1.0.0 15.47 248.68 264.15 OK
r-release-macos-arm64 1.0.0 89.00 OK
r-release-macos-x86_64 1.0.0 122.00 OK
r-release-windows-x86_64 1.0.0 64.00 290.00 354.00 OK
r-oldrel-macos-arm64 1.0.0 65.00 OK
r-oldrel-macos-x86_64 1.0.0 118.00 OK
r-oldrel-windows-ix86+x86_64 1.0.0 32.00 276.00 308.00 OK

Check Details

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [16s/24s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(tidyposterior)
     >
     > test_check("tidyposterior")
    
     Attaching package: 'rsample'
    
     The following object is masked from 'package:testthat':
    
     matches
    
    
     SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
     Chain 1:
     Chain 1: Gradient evaluation took 0 seconds
     Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
     Chain 1: Adjust your expectations accordingly!
     Chain 1:
     Chain 1:
     Chain 1: WARNING: There aren't enough warmup iterations to fit the
     Chain 1: three stages of adaptation as currently configured.
     Chain 1: Reducing each adaptation stage to 15%/75%/10% of
     Chain 1: the given number of warmup iterations:
     Chain 1: init_buffer = 7
     Chain 1: adapt_window = 38
     Chain 1: term_buffer = 5
     Chain 1:
     Chain 1: Iteration: 1 / 100 [ 1%] (Warmup)
     Chain 1: Iteration: 10 / 100 [ 10%] (Warmup)
     Chain 1: Iteration: 20 / 100 [ 20%] (Warmup)
     Chain 1: Iteration: 30 / 100 [ 30%] (Warmup)
     Chain 1: Iteration: 40 / 100 [ 40%] (Warmup)
     Chain 1: Iteration: 50 / 100 [ 50%] (Warmup)
     Chain 1: Iteration: 51 / 100 [ 51%] (Sampling)
     Chain 1: Iteration: 60 / 100 [ 60%] (Sampling)
     Chain 1: Iteration: 70 / 100 [ 70%] (Sampling)
     Chain 1: Iteration: 80 / 100 [ 80%] (Sampling)
     Chain 1: Iteration: 90 / 100 [ 90%] (Sampling)
     Chain 1: Iteration: 100 / 100 [100%] (Sampling)
     Chain 1:
     Chain 1: Elapsed Time: 0.063309 seconds (Warm-up)
     Chain 1: 0.08194 seconds (Sampling)
     Chain 1: 0.145249 seconds (Total)
     Chain 1:
    
     SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
     Chain 2:
     Chain 2: Gradient evaluation took 0 seconds
     Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
     Chain 2: Adjust your expectations accordingly!
     Chain 2:
     Chain 2:
     Chain 2: WARNING: There aren't enough warmup iterations to fit the
     Chain 2: three stages of adaptation as currently configured.
     Chain 2: Reducing each adaptation stage to 15%/75%/10% of
     Chain 2: the given number of warmup iterations:
     Chain 2: init_buffer = 7
     Chain 2: adapt_window = 38
     Chain 2: term_buffer = 5
     Chain 2:
     Chain 2: Iteration: 1 / 100 [ 1%] (Warmup)
     Chain 2: Iteration: 10 / 100 [ 10%] (Warmup)
     Chain 2: Iteration: 20 / 100 [ 20%] (Warmup)
     Chain 2: Iteration: 30 / 100 [ 30%] (Warmup)
     Chain 2: Iteration: 40 / 100 [ 40%] (Warmup)
     Chain 2: Iteration: 50 / 100 [ 50%] (Warmup)
     Chain 2: Iteration: 51 / 100 [ 51%] (Sampling)
     Chain 2: Iteration: 60 / 100 [ 60%] (Sampling)
     Chain 2: Iteration: 70 / 100 [ 70%] (Sampling)
     Chain 2: Iteration: 80 / 100 [ 80%] (Sampling)
     Chain 2: Iteration: 90 / 100 [ 90%] (Sampling)
     Chain 2: Iteration: 100 / 100 [100%] (Sampling)
     Chain 2:
     Chain 2: Elapsed Time: 0.074967 seconds (Warm-up)
     Chain 2: 0.077758 seconds (Sampling)
     Chain 2: 0.152725 seconds (Total)
     Chain 2:
    
     Attaching package: 'dplyr'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     The following objects are masked from 'package:stats':
    
     filter, lag
    
     The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
     For binary classification, the first factor level is assumed to be the event.
     Use the argument `event_level = "second"` to alter this as needed.
    
     SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
     Chain 1:
     Chain 1: Gradient evaluation took 0 seconds
     Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
     Chain 1: Adjust your expectations accordingly!
     Chain 1:
     Chain 1:
     Chain 1: WARNING: There aren't enough warmup iterations to fit the
     Chain 1: three stages of adaptation as currently configured.
     Chain 1: Reducing each adaptation stage to 15%/75%/10% of
     Chain 1: the given number of warmup iterations:
     Chain 1: init_buffer = 3
     Chain 1: adapt_window = 20
     Chain 1: term_buffer = 2
     Chain 1:
     Chain 1: Iteration: 1 / 50 [ 2%] (Warmup)
     Chain 1: Iteration: 5 / 50 [ 10%] (Warmup)
     Chain 1: Iteration: 10 / 50 [ 20%] (Warmup)
     Chain 1: Iteration: 15 / 50 [ 30%] (Warmup)
     Chain 1: Iteration: 20 / 50 [ 40%] (Warmup)
     Chain 1: Iteration: 25 / 50 [ 50%] (Warmup)
     Chain 1: Iteration: 26 / 50 [ 52%] (Sampling)
     Chain 1: Iteration: 30 / 50 [ 60%] (Sampling)
     Chain 1: Iteration: 35 / 50 [ 70%] (Sampling)
     Chain 1: Iteration: 40 / 50 [ 80%] (Sampling)
     Chain 1: Iteration: 45 / 50 [ 90%] (Sampling)
     Chain 1: Iteration: 50 / 50 [100%] (Sampling)
     Chain 1:
     Chain 1: Elapsed Time: 0.03411 seconds (Warm-up)
     Chain 1: 0.043387 seconds (Sampling)
     Chain 1: 0.077497 seconds (Total)
     Chain 1:
    
     SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
     Chain 2:
     Chain 2: Gradient evaluation took 0 seconds
     Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
     Chain 2: Adjust your expectations accordingly!
     Chain 2:
     Chain 2:
     Chain 2: WARNING: There aren't enough warmup iterations to fit the
     Chain 2: three stages of adaptation as currently configured.
     Chain 2: Reducing each adaptation stage to 15%/75%/10% of
     Chain 2: the given number of warmup iterations:
     Chain 2: init_buffer = 3
     Chain 2: adapt_window = 20
     Chain 2: term_buffer = 2
     Chain 2:
     Chain 2: Iteration: 1 / 50 [ 2%] (Warmup)
     Chain 2: Iteration: 5 / 50 [ 10%] (Warmup)
     Chain 2: Iteration: 10 / 50 [ 20%] (Warmup)
     Chain 2: Iteration: 15 / 50 [ 30%] (Warmup)
     Chain 2: Iteration: 20 / 50 [ 40%] (Warmup)
     Chain 2: Iteration: 25 / 50 [ 50%] (Warmup)
     Chain 2: Iteration: 26 / 50 [ 52%] (Sampling)
     Chain 2: Iteration: 30 / 50 [ 60%] (Sampling)
     Chain 2: Iteration: 35 / 50 [ 70%] (Sampling)
     Chain 2: Iteration: 40 / 50 [ 80%] (Sampling)
     Chain 2: Iteration: 45 / 50 [ 90%] (Sampling)
     Chain 2: Iteration: 50 / 50 [100%] (Sampling)
     Chain 2:
     Chain 2: Elapsed Time: 0.104206 seconds (Warm-up)
     Chain 2: 0.077121 seconds (Sampling)
     Chain 2: 0.181327 seconds (Total)
     Chain 2:
    
     SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
     Chain 1:
     Chain 1: Gradient evaluation took 0 seconds
     Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
     Chain 1: Adjust your expectations accordingly!
     Chain 1:
     Chain 1:
     Chain 1: WARNING: There aren't enough warmup iterations to fit the
     Chain 1: three stages of adaptation as currently configured.
     Chain 1: Reducing each adaptation stage to 15%/75%/10% of
     Chain 1: the given number of warmup iterations:
     Chain 1: init_buffer = 3
     Chain 1: adapt_window = 20
     Chain 1: term_buffer = 2
     Chain 1:
     Chain 1: Iteration: 1 / 50 [ 2%] (Warmup)
     Chain 1: Iteration: 5 / 50 [ 10%] (Warmup)
     Chain 1: Iteration: 10 / 50 [ 20%] (Warmup)
     Chain 1: Iteration: 15 / 50 [ 30%] (Warmup)
     Chain 1: Iteration: 20 / 50 [ 40%] (Warmup)
     Chain 1: Iteration: 25 / 50 [ 50%] (Warmup)
     Chain 1: Iteration: 26 / 50 [ 52%] (Sampling)
     Chain 1: Iteration: 30 / 50 [ 60%] (Sampling)
     Chain 1: Iteration: 35 / 50 [ 70%] (Sampling)
     Chain 1: Iteration: 40 / 50 [ 80%] (Sampling)
     Chain 1: Iteration: 45 / 50 [ 90%] (Sampling)
     Chain 1: Iteration: 50 / 50 [100%] (Sampling)
     Chain 1:
     Chain 1: Elapsed Time: 0.016006 seconds (Warm-up)
     Chain 1: 0.016001 seconds (Sampling)
     Chain 1: 0.032007 seconds (Total)
     Chain 1:
    
     SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
     Chain 2:
     Chain 2: Gradient evaluation took 0 seconds
     Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
     Chain 2: Adjust your expectations accordingly!
     Chain 2:
     Chain 2:
     Chain 2: WARNING: There aren't enough warmup iterations to fit the
     Chain 2: three stages of adaptation as currently configured.
     Chain 2: Reducing each adaptation stage to 15%/75%/10% of
     Chain 2: the given number of warmup iterations:
     Chain 2: init_buffer = 3
     Chain 2: adapt_window = 20
     Chain 2: term_buffer = 2
     Chain 2:
     Chain 2: Iteration: 1 / 50 [ 2%] (Warmup)
     Chain 2: Iteration: 5 / 50 [ 10%] (Warmup)
     Chain 2: Iteration: 10 / 50 [ 20%] (Warmup)
     Chain 2: Iteration: 15 / 50 [ 30%] (Warmup)
     Chain 2: Iteration: 20 / 50 [ 40%] (Warmup)
     Chain 2: Iteration: 25 / 50 [ 50%] (Warmup)
     Chain 2: Iteration: 26 / 50 [ 52%] (Sampling)
     Chain 2: Iteration: 30 / 50 [ 60%] (Sampling)
     Chain 2: Iteration: 35 / 50 [ 70%] (Sampling)
     Chain 2: Iteration: 40 / 50 [ 80%] (Sampling)
     Chain 2: Iteration: 45 / 50 [ 90%] (Sampling)
     Chain 2: Iteration: 50 / 50 [100%] (Sampling)
     Chain 2:
     Chain 2: Elapsed Time: 0.016901 seconds (Warm-up)
     Chain 2: 0.020002 seconds (Sampling)
     Chain 2: 0.036903 seconds (Total)
     Chain 2:
     [ FAIL 2 | WARN 32 | SKIP 5 | PASS 97 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test_perf_mod.R:234:3'): workflow sets ────────────────────────────
     `rsq_mod <- perf_mod(wset, seed = 3, refresh = 0, metric = "rsq")` threw an unexpected error.
     Message: Can't find `fns` in environment.
     Class: rlang_error/error/condition
     Backtrace:
     ▆
     1. ├─testthat::expect_error(...) at test_perf_mod.R:234:2
     2. │ └─testthat:::expect_condition_matching(...)
     3. │ └─testthat:::quasi_capture(...)
     4. │ ├─testthat (local) .capture(...)
     5. │ │ └─base::withCallingHandlers(...)
     6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. ├─tidyposterior::perf_mod(wset, seed = 3, refresh = 0, metric = "rsq")
     8. └─tidyposterior:::perf_mod.workflow_set(...)
     9. └─tune::metrics_info(metric_info)
     10. └─rlang::env_get(environment(x), "fns")
     11. └─rlang:::stop_env_get_missing(nm)
     12. └─rlang::abort(msg, call = caller_env())
     ── Error ('test_perf_mod.R:238:3'): workflow sets ──────────────────────────────
     Error in `eval(code, test_env)`: object 'rsq_mod' not found
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test_perf_mod.R:238:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─base::colnames(coef(rsq_mod$stan)$id)
     5. │ └─base::is.data.frame(x)
     6. └─stats::coef(rsq_mod$stan)
    
     [ FAIL 2 | WARN 32 | SKIP 5 | PASS 97 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc