tests/testthat/fixtures/rlanglibtest/R/rlanglibtest.R

#' @useDynLib rlanglibtest, .registration = TRUE
NULL

.onLoad <- function(lib, pkg) {
  # Causes rlang package to load and register native routines
  rlang::dots_list()

  .Call(rlanglibtest_library_load)
}

test_trace_unexported <- function(e) {
  trace_back(e)
}
test_trace_unexported_child <- local(function(e) {
  test_trace_unexported(e)
})
tidyverse/rlang documentation built on Oct. 31, 2024, 5:35 p.m.