R/zzz.R

Defines functions .onDetach .onAttach

# =============================================================================.
#
# -----------------------------------------------------------------------------.
.onAttach <- function(...) {

  # Initialize global options of the LittleThumb package
  LittleThumb::ResetOptions()

}

# =============================================================================.
#
# -----------------------------------------------------------------------------.
.onDetach <- function(...) {

  # Remove global options of the LittleThumb package from the R environment
  LittleThumb::RemoveOptions()

}
benja0x40/LittleThumb documentation built on Jan. 22, 2021, 2:36 p.m.