tests/testthat/Testbox_attached_modules_functions_R6/app/modules/moduleR6.R

#' @export
TestR6 <- R6::R6Class("TestR6", # nolint
                      public = list(
                        show = function(x) {
                          1 + 3
                        },
                        print2 = function(x) {
                          1 + 2
                        }
                      )
)

Try the covr package in your browser

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

covr documentation built on Nov. 10, 2025, 1:06 a.m.