R/onload.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  # On Windows, we might have an embedded SSL root cert file.
  # Externally env var, set by the user, takes priority.
  if (.Platform$OS.type == "windows") {
    pem <- system.file(package = .packageName, "roots.pem")
    if (pem != "" && file.exists(pem) &&
      Sys.getenv("GRPC_DEFAULT_SSL_ROOTS_FILE_PATH") == "") {
      Sys.setenv("GRPC_DEFAULT_SSL_ROOTS_FILE_PATH" = normalizePath(pem))
    }
  }
}

Try the bigrquerystorage package in your browser

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

bigrquerystorage documentation built on April 3, 2025, 9:23 p.m.