tests/testthat/test-get_n_replicates.R

n_rep <- get_n_replicates(t_dat)

test_that("class is right",
          expect_is(n_rep, "numeric"))

test_that("right value", 
          expect_equal(n_rep, 4))

Try the HaDeX2 package in your browser

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

HaDeX2 documentation built on Feb. 9, 2026, 5:07 p.m.