R/zzz.R

Defines functions .onLoad

cacheEnv <- new.env()

.onLoad <- function(libname, pkgname) { #nocov start #nolint start
  op <- options()
  op_sstk <- list(
    sstk.api.root.url = "https://api.shutterstock.com/",
    sstk.api.version = "v2/"
  )
  toset <- !(names(op_sstk) %in% names(op))
  if(any(toset)) options(op_sstk[toset])

  invisible()
} #nocov end #nolint end

Try the shutterstock package in your browser

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

shutterstock documentation built on May 1, 2019, 6:57 p.m.