inst/examplepkg/tests/non-testthat.R

library(examplepkg)

# test scenario where test traces need to be built based on S4 methods 
# associated with objects defined within the test
setClass("myS4Example", contains = "S4Example")
mys4ex <- new("myS4Example", data = list(a = 1, b = 2))  
mys4ex

Try the covtracer package in your browser

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

covtracer documentation built on Sept. 12, 2024, 7:40 a.m.