R/atable_options_reset.R

Defines functions atable_options_reset

Documented in atable_options_reset

#' Reset atable_options to default
#'
#' Does as the name implies. See also \code{\link{atable_options}}.
#'
#'
#' @examples
#' atable_options('replace_NA_by') # show options
#' atable_options('replace_NA_by' = 'foo bar') # set a new value
#' atable_options('replace_NA_by') # show options
#' atable_options_reset() # restore all defaults
#' atable_options('replace_NA_by') # as before
#'
#' @export
atable_options_reset <- function() settings::reset(atable_options)
arminstroebel/atable documentation built on Dec. 19, 2020, 7:28 a.m.