R/library.patch.R

Defines functions require library

Documented in library require

library <- function(...) {
  res <- withVisible(base::library(...))
  callHooks("base::library:onLoad")
  value <- res$value
  if (res$visible) {
    return(value)
  } else {
    return(invisible(value))
  }
} # library()

require <- function(...) {
  res <- withVisible(base::require(...))
  callHooks("base::library:onLoad")
  value <- res$value
  if (res$visible) {
    return(value)
  } else {
    return(invisible(value))
  }
} # library()

Try the aroma.core package in your browser

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

aroma.core documentation built on June 25, 2024, 1:15 a.m.