tests/tinytest.R

if (requireNamespace("tinytest", quietly = TRUE)) {
  # set a seed to make the test deterministic
  set.seed(42)

  # run tests (package must be installed)
  tinytest::test_package("uchardet")
}

Try the uchardet package in your browser

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

uchardet documentation built on Nov. 10, 2022, 5:52 p.m.