tests/testthat/test-05-classicBoot.R

test <- estimate_classic(x = indicators.ALL, w = testPSU, replicates = 9)

test_that("output has 136 rows", {
  expect_equal(nrow(test), 136)
})


test_that("output has 10 columns", {
  expect_equal(ncol(test), 10)
})

Try the oldr package in your browser

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

oldr documentation built on April 4, 2025, 2:36 a.m.