R/api.R

Defines functions api

Documented in api

pkg.env <- new.env()
pkg.env$apiKey = NULL

#' api
#' This function sets the api key
#'
#' @param key api key to set
#'
#' @return
#' @export
api <- function(key) {
  pkg.env$apiKey = key
}
Andy92Pac/self-tuning-R documentation built on Dec. 29, 2019, 5:59 a.m.