tests/testthat/test-rcbd.R

test_that("RCBD sample fieldbook successful load", {
  # skip_on_cran()
  
  expect_invisible(rcbd_book <- qrlabelr::rcbd)
  expect_true(class(rcbd_book)[1] == "data.frame")
  expect_true(dim(rcbd_book)[1] ==  144 )
  expect_true(dim(rcbd_book)[2] ==  7 )
  
})

Try the qrlabelr package in your browser

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

qrlabelr documentation built on May 29, 2024, 10:16 a.m.