CRAN Package Check Results for Package surveil

Last updated on 2026-06-08 13:50:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 243.11 284.31 527.42 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 243.41 206.96 450.37 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.0 269.00 433.74 702.74 NOTE
r-devel-linux-x86_64-fedora-gcc 0.3.0 600.00 463.51 1063.51 NOTE
r-devel-windows-x86_64 0.3.0 276.00 334.00 610.00 OK
r-patched-linux-x86_64 0.3.0 245.24 279.15 524.39 OK
r-release-linux-x86_64 0.3.0 244.40 282.59 526.99 OK
r-release-macos-arm64 0.3.0 52.00 39.00 91.00 OK
r-release-macos-x86_64 0.3.0 163.00 268.00 431.00 OK
r-release-windows-x86_64 0.3.0 277.00 349.00 626.00 OK
r-oldrel-macos-arm64 0.3.0 OK
r-oldrel-macos-x86_64 0.3.0 155.00 180.00 335.00 OK
r-oldrel-windows-x86_64 0.3.0 364.00 435.00 799.00 OK

Check Details

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/16s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > test_check("surveil") Loading required package: surveil [1] "Setting normal prior(s) for eta_1: " location scale -6 5 [1] "\nSetting half-normal prior for sigma: " location scale 0 1 SAMPLING FOR MODEL 'RW' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 3.6e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.36 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: 51 / 100 [ 51%] (Sampling) Chain 1: Iteration: 100 / 100 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.006 seconds (Warm-up) Chain 1: 0.005 seconds (Sampling) Chain 1: 0.011 seconds (Total) Chain 1: [1] "Setting normal prior(s) for eta_1: " location scale -6 5 [1] "\nSetting half-normal prior for sigma: " location scale 0 1 SAMPLING FOR MODEL 'RW' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 2.9e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.29 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: 51 / 100 [ 51%] (Sampling) Chain 1: Iteration: 100 / 100 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.006 seconds (Warm-up) Chain 1: 0.012 seconds (Sampling) Chain 1: 0.018 seconds (Total) Chain 1: [1] "Setting normal prior(s) for eta_1: " location scale -6 5 [1] "\nSetting half-normal prior for sigma: " location scale 0 1 [1] "\nSetting LKJ prior on correlation matrix: " eta 2 SAMPLING FOR MODEL 'RWCorr' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 7.9e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.79 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: 51 / 100 [ 51%] (Sampling) Chain 1: Iteration: 100 / 100 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.023 seconds (Warm-up) Chain 1: 0.363 seconds (Sampling) Chain 1: 0.386 seconds (Total) Chain 1: [1] "Setting normal prior(s) for eta_1: " location scale -6 5 [1] "\nSetting half-normal prior for sigma: " location scale 0 1 [1] "\nSetting LKJ prior on correlation matrix: " eta 2 SAMPLING FOR MODEL 'RWCorr' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 6.7e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.67 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: 51 / 100 [ 51%] (Sampling) Chain 1: Iteration: 100 / 100 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.081 seconds (Warm-up) Chain 1: 1.338 seconds (Sampling) Chain 1: 1.419 seconds (Total) Chain 1: [1] "\nSetting half-normal prior for sigma: " location scale 0 1 SAMPLING FOR MODEL 'RW' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 3.4e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.34 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: 51 / 100 [ 51%] (Sampling) Chain 1: Iteration: 100 / 100 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.006 seconds (Warm-up) Chain 1: 0.004 seconds (Sampling) Chain 1: 0.01 seconds (Total) Chain 1: SAMPLING FOR MODEL 'RWCorr' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 6.9e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.69 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: 51 / 100 [ 51%] (Sampling) Chain 1: Iteration: 100 / 100 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.016 seconds (Warm-up) Chain 1: 0.037 seconds (Sampling) Chain 1: 0.053 seconds (Total) Chain 1: [1] "Setting normal prior(s) for eta_1: " location scale -6 5 [1] "\nSetting half-normal prior for sigma: " location scale 0 1 SAMPLING FOR MODEL 'RW' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 3.5e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.35 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: 51 / 100 [ 51%] (Sampling) Chain 1: Iteration: 100 / 100 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.03 seconds (Warm-up) Chain 1: 0.047 seconds (Sampling) Chain 1: 0.077 seconds (Total) Chain 1: [1] "Setting normal prior(s) for eta_1: " location scale -6 5 [1] "\nSetting half-normal prior for sigma: " location scale 0 1 SAMPLING FOR MODEL 'RW' NOW (CHAIN 1). Saving _problems/test_rw-109.R [1] "Setting normal prior(s) for eta_1: " location scale -6 5 [1] "\nSetting half-normal prior for sigma: " location scale 0 1 SAMPLING FOR MODEL 'RW' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 3.3e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.33 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: 51 / 100 [ 51%] (Sampling) Chain 1: Iteration: 100 / 100 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.025 seconds (Warm-up) Chain 1: 0.049 seconds (Sampling) Chain 1: 0.074 seconds (Total) Chain 1: [1] "Setting normal prior(s) for eta_1: " location scale -6 5 [1] "\nSetting half-normal prior for sigma: " location scale 0 1 SAMPLING FOR MODEL 'RW' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 3.3e-05 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.33 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: 51 / 100 [ 51%] (Sampling) Chain 1: Iteration: 100 / 100 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.04 seconds (Warm-up) Chain 1: 0.049 seconds (Sampling) Chain 1: 0.089 seconds (Total) Chain 1: [1] "Setting normal prior(s) for eta_1: " location scale -6 5 [1] "\nSetting half-normal prior for sigma: " location scale 0 1 SAMPLING FOR MODEL 'RW' NOW (CHAIN 1). Chain 1: Chain 1: Gradient evaluation took 0.000164 seconds Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.64 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: 51 / 100 [ 51%] (Sampling) Chain 1: Iteration: 100 / 100 [100%] (Sampling) Chain 1: Chain 1: Elapsed Time: 0.306 seconds (Warm-up) Chain 1: 2.364 seconds (Sampling) Chain 1: 2.67 seconds (Total) Chain 1: [ FAIL 1 | WARN 44 | SKIP 0 | PASS 10 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_rw.R:102:5'): group_diff works, family = binomial ────────────── Error in `file(messages, open = "wt")`: cannot open the connection Backtrace: ▆ 1. └─surveil::stan_rw(...) at test_rw.R:102:5 2. ├─rstan::sampling(...) 3. └─rstan::sampling(...) 4. └─rstan (local) .local(object, ...) 5. └─base::file(messages, open = "wt") [ FAIL 1 | WARN 44 | SKIP 0 | PASS 10 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘RcppParallel’ ‘rstantools’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc