tests/testthat/test-helper-rng.R

# The default RNG kind changed in R > 3.6...the recorded tests
# currently rely on randomness and are currently expecting
# the default RNG kind from R 3.5
# CRAN has suggested this as workaround for random tests
# NOTE: this workaround may be removed once we're no longer
# testing on R 3.5 or earlier
suppressWarnings(RNGversion("3.5.0"))

Try the shinytest package in your browser

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

shinytest documentation built on May 29, 2024, 6:33 a.m.