tests/testthat/test-findLocation.R

context("findLocation")

test_that("findLocation finds hosts and parasite by location", {
  skip_on_cran()
	expect_error(findLocation("utopia"))
	France <- findLocation("France")
	expect_gt(nrow(France), 2)
})

Try the helminthR package in your browser

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

helminthR documentation built on Dec. 9, 2022, 1:06 a.m.