R/zzz.R

Defines functions .onDetach .onAttach

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

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

}

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

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

}
benja0x40/Barbouille documentation built on March 26, 2023, 11:38 p.m.