tests/testthat/config-unique/R/auto.R

#' @autoglobal
automode <- function(data) {
  data |>
    dplyr::group_by(my_key) |>
    dplyr::summarise(agg = sum(something))
}

#' @autoglobal
automode_duplicate <- function(data) {
  data |>
    dplyr::group_by(my_key) |>
    dplyr::summarise(agg = sum(something))
}

Try the roxyglobals package in your browser

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

roxyglobals documentation built on Aug. 21, 2023, 5:14 p.m.