R/zzz.R

Defines functions .onLoad .onAttach

.onAttach <- function(libname, pkgname) {
  invisible(suppressPackageStartupMessages(
    sapply(c("dplyr", "googleVis", "jsonlite"),
           requireNamespace, quietly = TRUE)
  ))
}

foo <- NULL

.onLoad <- function(libname, pkgname) {
  foo <<- import("requests", delay_load = TRUE)
}

Try the nser package in your browser

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

nser documentation built on Sept. 19, 2023, 5:06 p.m.