tests/testthat.R

if (requireNamespace("testthat", quietly = TRUE)) {
  library(testthat)
  library(PRNG)
  test_check("PRNG")
} else {
  message("Skipping tests because 'testthat' package is not available.")
}

Try the PRNG package in your browser

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

PRNG documentation built on Sept. 11, 2024, 6:13 p.m.