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
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.