File: tinytest.R

package info (click to toggle)
r-cran-inline 0.3.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 188 kB
  • sloc: makefile: 2
file content (9 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9

if (requireNamespace("tinytest", quietly=TRUE) &&
  utils::packageVersion("tinytest") >= "1.1.0") {

  ## Set a seed to make the tests deterministic
  set.seed(42)

  tinytest::test_package("inline")
}