tests/_helper/ref-objs/translate/testthat/test-translate1.R

# for translate unitizer tests

expect_equal(fun0(a), 1:10)   # blah blah
expect_true(fun1(a))

# a test for errors

expect_error(stop("hello"))

random_function()

Try the unitizer package in your browser

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

unitizer documentation built on Oct. 8, 2023, 5:06 p.m.