tests/testthat/mod/path/to/module_a.R

#' @export
a_fun_a <- function() {
  "exported a"
}

#' @export
a_fun_b <- function() {
  "exported b"
}

a_fun_c <- function() {
  "private c"
}

a_obj_a <- 1:3

Try the box.linters package in your browser

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

box.linters documentation built on June 26, 2025, 5:07 p.m.