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)
})

Try the rlang package in your browser

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

rlang documentation built on Nov. 4, 2023, 9:06 a.m.