tests/testthat/_snaps/call_user_fun.md

Test 1: Error is issued to function call if function errors

Code
  call_user_fun(compute_bmi(height = 172, weight = "hallo"))
Condition
  Error in `call_user_fun()`:
  ! Calling `compute_bmi(height = 172, weight = "hallo")` caused the following error:
  Argument `weight` must be a numeric vector, but it is a string.


Roche-GSK/admiral documentation built on April 14, 2025, 12:36 p.m.