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

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

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

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

#' @export
c_obj_a <- 1:3

c_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.