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

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

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

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

#' @export
b_obj_a <- 1:3

b_obj_b <- 4:6

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.