tests/testthat/test-lambda_indicator.R

test_that("runs without error", {
  
  # Run the lambda_interpolation method on this data
  myIndicator <- lambda_indicator(myArray)
  expect_equal(class(myIndicator), 'list')
  expect_equal(length(myIndicator), 5)
  
})
BiologicalRecordsCentre/BRCindicators documentation built on June 12, 2024, 4:10 a.m.