tests/testthat/test-equations.R

test_that("all equations are lowercase", {
  expect_equal(
    allodb::equations$equation_allometry,
    tolower(allodb::equations$equation_allometry)
  )
})

test_that("all equations are valid", {
  no_error <- NA
  expect_error(validate_equations(equations$equation_allometry), no_error)
})
ropensci/allodb documentation built on June 1, 2025, 3 p.m.