R/zzz.R

Defines functions .onAttach

# Package Startup Message

.onAttach <- function(...) {

  if (!getOption("targomor.quiet", FALSE)) {

    msg <- c("Welcome to TargomoR!", "",
             "This package talks to the Targomo API. To use it you will need an API Key. Get yours at:", "",
             "* https://targomo.com/developers/pricing/", "",
             "Please also be aware of the Targomo terms and conditions:", "",
             "* https://account.targomo.com/legal/terms", "",
             "Stop this message by setting `options(targomor.quiet = TRUE)`")

    packageStartupMessage(paste0(msg, collapse = "\n"))

  }

}

Try the TargomoR package in your browser

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

TargomoR documentation built on Dec. 7, 2019, 1:07 a.m.