Running ‘test-all.R’ [30s/19s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > 
  > #options(Ncpus = parallelly::availableCores(omit = 1))
  > #options(Ncpus = 1)
  > options(lifecycle_verbosity = "warning")
  > test_check("breathtestcore")
  Loading required package: breathtestcore
  Starting 2 test processes.
  Saving _problems/test_simulate_breathtest_data-14.R
  Saving _problems/test_simulate_breathtest_data-20.R
  Saving _problems/test_simulate_breathtest_data-58.R
  Saving _problems/test_simulate_breathtest_data-65.R
  [ FAIL 4 | WARN 19 | SKIP 4 | PASS 345 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test_coef_by_group.R:55:3', 'test_coef_diff_by_group.R:54:3',
    'test_read_iris_csv.R:49:3', 'test_plot_breathtestfit.R:49:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_simulate_breathtest_data.R:14:3'): Dubious parameter give warning ──
  Error in `simulate_breathtest_data(noise = 0)`: (converted from warning) With noise == 0, non-linear fits might fail.
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(simulate_breathtest_data(noise = 0)) at test_simulate_breathtest_data.R:14:3
   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. └─breathtestcore::simulate_breathtest_data(noise = 0)
  ── Error ('test_simulate_breathtest_data.R:20:3'): Valid parameters without std return valid data with cov-matrix ──
  Error in `structure(c(188, -0.026, -2.04, -0.026, 7.74e-06, 0.000477, -2.04, 0.000477, 0.182), .Dim = c(3L, 3L), .Dimnames = list(c("m", "k", "beta"), c("m", "k", "beta")))`: (converted from warning) Replacing special names '.Dim', '.Dimnames' is deprecated; use 'dim', 'dimnames' instead.
  Backtrace:
      ▆
   1. └─breathtestcore::simulate_breathtest_data(seed = 4711) at test_simulate_breathtest_data.R:20:3
   2.   └─base::structure(...)
   3.     └─base::.Deprecated(...)
   4.       └─base::warning(...)
   5.         └─base::withRestarts(...)
   6.           └─base (local) withOneRestart(expr, restarts[[1L]])
   7.             └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test_simulate_breathtest_data.R:58:3'): Fewer data with missing values ──
  Error in `structure(c(188, -0.026, -2.04, -0.026, 7.74e-06, 0.000477, -2.04, 0.000477, 0.182), .Dim = c(3L, 3L), .Dimnames = list(c("m", "k", "beta"), c("m", "k", "beta")))`: (converted from warning) Replacing special names '.Dim', '.Dimnames' is deprecated; use 'dim', 'dimnames' instead.
  Backtrace:
      ▆
   1. └─breathtestcore::simulate_breathtest_data(missing = 0.1, seed = 4711) at test_simulate_breathtest_data.R:58:3
   2.   └─base::structure(...)
   3.     └─base::.Deprecated(...)
   4.       └─base::warning(...)
   5.         └─base::withRestarts(...)
   6.           └─base (local) withOneRestart(expr, restarts[[1L]])
   7.             └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test_simulate_breathtest_data.R:65:3'): Warning when requesting too many missing ──
  Error in `structure(c(188, -0.026, -2.04, -0.026, 7.74e-06, 0.000477, -2.04, 0.000477, 0.182), .Dim = c(3L, 3L), .Dimnames = list(c("m", "k", "beta"), c("m", "k", "beta")))`: (converted from warning) Replacing special names '.Dim', '.Dimnames' is deprecated; use 'dim', 'dimnames' instead.
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test_simulate_breathtest_data.R:65:3
    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. └─breathtestcore::simulate_breathtest_data(missing = 0.8, seed = 4711)
    8.   └─base::structure(...)
    9.     └─base::.Deprecated(...)
   10.       └─base::warning(...)
   11.         └─base::withRestarts(...)
   12.           └─base (local) withOneRestart(expr, restarts[[1L]])
   13.             └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 4 | WARN 19 | SKIP 4 | PASS 345 ]
  Error:
  ! Test failures.
  Execution halted