tests/testthat/_snaps/utils.md

map_chr

Code
  map_chr(1:3, sqrt)
Condition
  Error in `vapply()`:
  ! values must be type 'character',
   but FUN(X[[1]]) result is type 'double'

get_current_error, failure

Code
  get_current_error()
Output
  $tried
  [1] TRUE

  $success
  [1] FALSE

  $object
  NULL

  $error
  [1] "Could not get the error message. Shucks."
Code
  get_current_error()
Output
  $tried
  [1] FALSE

  $success
  [1] NA

  $object
  NULL

  $error
  [1] "This version of otelsdk cannot get error messages. Make sure that you are using the latest version."


Try the otelsdk package in your browser

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

otelsdk documentation built on Sept. 10, 2025, 10:32 a.m.