R/set_seed.R

Defines functions set.seed

# Used to stabilize set.seed because of PR17494
# and incremented r76165
set.seed <- function(seed, kind = NULL, normal.kind = NULL) {
  suppressWarnings(RNGversion("3.5.0"))
  base::set.seed(seed, kind = kind, normal.kind = normal.kind)
}

Try the hutils package in your browser

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

hutils documentation built on April 13, 2022, 5:23 p.m.