tests/testthat/test_.cal_DoseRate.R

test_that("Full function test", {
  testthat::skip_on_cran()
  local_edition(3)

  ##load Example dataset
  data("Example_Data", envir = environment())

  ##simple run to check the 'ref' fall back
  expect_type(RCarb:::.calc_DoseRate(x = 10, data = Example_Data[14, ], ref = NULL),
              type = "list")

})

Try the RCarb package in your browser

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

RCarb documentation built on Aug. 9, 2022, 1:05 a.m.