tests/testthat/_snaps/compute_age_years.md

compute_age_years Test 3: Error is issued when age_unit has invalid length

Code
  compute_age_years(age_input, age_unit_input)
Condition
  Error in `compute_age_years()`:
  ! Argument `age_unit` must be a single string or a vector of the same length as `age`
  i There are 3 values in `age` and 2 values in `age_unit`.


Try the admiral package in your browser

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

admiral documentation built on June 22, 2024, 9:06 a.m.