tests/testthat/helpers.R

expect_R6_class <- function(obj, what) { # nolint
  expect_true(inherits(obj, c(what, "R6")))
}

Try the param6 package in your browser

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

param6 documentation built on March 18, 2022, 6:13 p.m.