tests/testthat/test-get_paleogeography.R

test_that("get_paleogeography works", {
  rmacrostrat_test_checks(fn = get_paleogeography,
                          check_args = list(age = 250,
                                            interval_name = "Campanian"),
                          fail_args = list(# wrong argument
                                           interval_age = 50,
                                           # wrong type
                                           age = "test",
                                           list()),
                          col_no = 2)
})

Try the rmacrostrat package in your browser

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

rmacrostrat documentation built on Oct. 18, 2024, 5:10 p.m.