tests/example3.R

if (winch::winch_available() && require(vctrs)) {
  options(
    error = rlang::entrace,
    rlang_backtrace_on_error = "full",
    rlang_trace_use_winch = TRUE
  )

  winch::winch_init_library(vctrs:::vctrs_init_library$dll[["path"]])

  tryCatch(vctrs::vec_as_location(quote, 2), error = identity)
}

Try the winch package in your browser

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

winch documentation built on April 20, 2023, 9:14 a.m.