tests/testthat/test-catalog.R

test_that("catalog works", {
  rmacrostrat_test_checks(fn = catalog, col_no = 8,
                          check_args = list(type = "grain_sizes"),
                          fail_args = list(type = 1,
                                           type = "test",
                                           list(type = NULL)))
  rmacrostrat_test_checks(fn = catalog, col_no = 11,
                          check_args = list(type = "minerals"))
})

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.