R/zzz.R

Defines functions is_attached .onAttach

.onAttach <- function(...) {
  needed <- core[!is_attached(core)]
  if (length(needed) == 0)
    return()

  stp25_attach()
}


is_attached <- function(x) {
  paste0("package:", x) %in% search()
}
stp4/stpvers documentation built on Nov. 3, 2022, 5:38 p.m.