Running ‘testthat.R’ [138s/168s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(probably)
  
  Attaching package: 'probably'
  
  The following objects are masked from 'package:base':
  
      as.factor, as.ordered
  
  > 
  > test_check("probably")
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Saving _problems/test-cal-estimate-logistic-101.R
  [ FAIL 1 | WARN 1 | SKIP 58 | PASS 629 ]
  
  ══ Skipped tests (58) ══════════════════════════════════════════════════════════
  • On CRAN (57): 'test-bound_prediction.R:1:1', 'test-bound_prediction.R:37:1',
    'test-cal-estimate-beta.R:1:1', 'test-cal-estimate-beta.R:29:1',
    'test-cal-estimate-beta.R:60:1', 'test-cal-estimate-isotonic.R:1:1',
    'test-cal-estimate-isotonic.R:29:1', 'test-cal-estimate-isotonic.R:58:1',
    'test-cal-estimate-isotonic.R:64:1', 'test-cal-estimate-isotonic.R:95:1',
    'test-cal-estimate-isotonic.R:122:1', 'test-cal-estimate-isotonic.R:155:1',
    'test-cal-estimate-isotonic.R:161:1', 'test-cal-estimate-linear.R:1:1',
    'test-cal-estimate-linear.R:36:1', 'test-cal-estimate-linear.R:44:1',
    'test-cal-estimate-linear.R:51:1', 'test-cal-estimate-linear.R:82:1',
    'test-cal-estimate-linear.R:95:1', 'test-cal-estimate-logistic.R:1:1',
    'test-cal-estimate-logistic.R:64:1', 'test-cal-estimate-logistic.R:78:1',
    'test-cal-estimate-logistic.R:110:1', 'test-cal-estimate-logistic.R:129:1',
    'test-cal-estimate-multinomial.R:1:1',
    'test-cal-estimate-multinomial.R:49:1',
    'test-cal-estimate-multinomial.R:88:1',
    'test-cal-estimate-multinomial.R:103:1', 'test-cal-estimate-none.R:1:1',
    'test-cal-estimate-none.R:80:1', 'test-cal-estimate-none.R:123:1',
    'test-cal-plot-breaks.R:37:1', 'test-cal-plot-breaks.R:130:1',
    'test-cal-plot-breaks.R:177:1', 'test-cal-plot-logistic.R:111:1',
    'test-cal-plot-logistic.R:165:1', 'test-cal-plot-regression.R:142:1',
    'test-cal-plot-windowed.R:96:1', 'test-cal-validate.R:1:1',
    'test-cal-validate.R:197:1', 'test-cal-validate.R:404:1',
    'test-cal-validate.R:833:1', 'test-cal-validate.R:863:1',
    'test-class-pred.R:198:1', 'test-conformal_infer_cv.R:1:1',
    'test-conformal_infer_cv.R:80:3', 'test-conformal_infer_cv.R:155:1',
    'test-conformal_infer_full.R:1:1', 'test-conformal_infer_full.R:112:3',
    'test-conformal_infer_full.R:197:1', 'test-conformal_infer_quantile.R:1:1',
    'test-conformal_infer_split.R:1:1', 'test-make_class_pred.R:80:1',
    'test-make_class_pred.R:89:1', 'test-make_class_pred.R:98:1',
    'test-make_class_pred.R:107:1', 'test-threshold_perf.R:140:1'
  • R.version[["arch"]] != "aarch64" is TRUE (1):
    'test-cal-plot-regression.R:3:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-cal-estimate-logistic.R:101:3'): Logistic spline estimates work - data.frame ──
  Error in `grDevices::pdf(new, ...)`: cannot open file '/tmp/RtmphhwpaT/verify_exec_372418364d253f'
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(print(sl_gam_group)) at test-cal-estimate-logistic.R:101:3
   2.   └─testthat:::expect_snapshot_(...)
   3.     ├─testthat:::with_is_snapshotting(...)
   4.     └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
   5.       └─withr::local_pdf(device_path)
   6.         └─grDevices::pdf(new, ...)
  
  [ FAIL 1 | WARN 1 | SKIP 58 | PASS 629 ]
  Error:
  ! Test failures.
  Execution halted