tests/testthat/test-errors.R

wrong <- TRUE

test_that("regsaude_female_pop error", {
  expect_error(regsaude_female_pop(type = wrong))
})

test_that("regsaude_male_pop error", {
  expect_error(regsaude_male_pop(type = wrong))
})

Try the brpop package in your browser

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

brpop documentation built on Oct. 31, 2024, 1:09 a.m.