R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  cache <- ceramic_cache()
  keytest <- get_api_key(silent = TRUE)
  if (is.null(keytest) || !nzchar(keytest)) {
    noise <- .use_public_key()
  }
  invisible(NULL)
}

Try the ceramic package in your browser

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

ceramic documentation built on April 22, 2023, 1:12 a.m.