R/aaa.R

#' @import rlang
NULL

onload_assign <-
  local({
    names <- character()
    funs <- list()
    function(name, x) {
      names[length(names) + 1] <<- name
      funs[[length(funs) + 1]] <<- substitute(x)
    }
  })

Try the pkgload package in your browser

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

pkgload documentation built on Sept. 22, 2023, 9:06 a.m.