R/reset.R

Defines functions reset_timeplyr_options

Documented in reset_timeplyr_options

#' Reset 'timeplyr' options
#'
#' @returns
#' Resets the timeplyr global options (prefixed with `"timeplyr."`): \cr
#' roll_month & roll_dst.
#'
#' @export
reset_timeplyr_options <- function(){
  options(timeplyr.roll_month = "xlast", timeplyr.roll_dst = c("NA", "xfirst"))
}

Try the timeplyr package in your browser

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

timeplyr documentation built on Feb. 10, 2026, 9:06 a.m.