R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  # based on: https://r-pkgs.org/Code.html#when-you-do-need-side-effects
  op <- options()

  op.jot <- list(
    jot.user = ''
  )

  toset <- !(names(op.jot) %in% names(op))
  if(any(toset)) options(op.jot[toset])

  invisible()
}

Try the jot package in your browser

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

jot documentation built on Aug. 27, 2022, 5:05 p.m.