tests/tinytest.R

if (requireNamespace("tinytest", quietly = TRUE)) {
  Sys.setenv(R_USER_CACHE_DIR = tempfile("n3d_cache_"),
             R_USER_DATA_DIR = tempfile("n3d_data_"),
             R_USER_CONFIG_DIR = tempfile("n3d_config_"))
  tinytest::test_package("n3d")
}

Try the n3d package in your browser

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

n3d documentation built on Oct. 14, 2026, 5:08 p.m.