Skip to content

withr 2.4.2

Compare
Choose a tag to compare
@jimhester jimhester released this 28 May 13:04
  • local_options() now lets you set an option to NULL as intended (#156)

  • local_tempfile() argument envir is deprecated, in favor of .local_envir.
    All withr functions except local_tempfile() used .local_envir to specify environments, so this makes this function consistent with the rest. (#157)

  • with_environment() now passing pos and warn.conflicts to attach(), as intended (#161).

  • with_seed() now also sets the RNG via new arguments .rng_kind, .rng_normal_kind and .rng_sample_kind
    (#162, @AshesITR).

  • with_timezone() now works after recent changes to Sys.timezone() in R-devel (#165)