tests/tinytest.R

if (requireNamespace("tinytest", quietly=TRUE)) {

  ## Set a seed to make the test deterministic
  set.seed(42)
  Sys.setenv("R_TESTS"="")
  tinytest::test_package("h3r")
}

Try the h3r package in your browser

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

h3r documentation built on April 3, 2025, 10:47 p.m.