Skip to contents

Will stop if not.

Usage

check_rng_seed(rng_seed)

Arguments

rng_seed

the random number generator seed of the BEAST2 run. Must be a non-zero positive integer value or NA. If rng_seed is NA, BEAST2 will pick a random seed

Value

Nothing. Will stop if the RNG seed is invalid

Author

Richèl J.C. Bilderbeek

Examples

check_empty_beaustier_folders()

# Numbers from 1 and higher are valid RNG seeds
check_rng_seed(1)
check_rng_seed(2)
# Also NA is a valid RNG seed
check_rng_seed(NA)
#> NULL

check_empty_beaustier_folders()