tests/testthat/_snaps/survival-censoring-weights.md

.filter_eval_time()

Code
  parsnip:::.filter_eval_time(times_duplicated)
Condition
  Warning:
  There were 0 inappropriate evaluation time points that were removed.
Output
   [1]  0  1  2  3  4  5  6  7  8  9 10
Code
  parsnip:::.filter_eval_time(-1)
Condition
  Error:
  ! There were no usable evaluation times (finite, non-missing, and >= 0).
Code
  parsnip:::.filter_eval_time(times_remove_plural)
Condition
  Warning:
  There were 3 inappropriate evaluation time points that were removed.
Output
   [1]  0  1  2  3  4  5  6  7  8  9 10
Code
  parsnip:::.filter_eval_time(times_remove_singular)
Condition
  Warning:
  There was 1 inappropriate evaluation time point that was removed.
Output
   [1]  0  1  2  3  4  5  6  7  8  9 10


Try the parsnip package in your browser

Any scripts or data that you put into this service are public.

parsnip documentation built on Aug. 18, 2023, 1:07 a.m.