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"))
MangoTheCat/shinytest documentation built on March 7, 2024, 1:41 p.m.