R/zzz.R

Defines functions .onDetach .onAttach

.onAttach <- function(libname, pkgname) {
  # Load .env file if found
  load_env_file()
}

.onDetach <- function(libpath) {
  Sys.unsetenv("CONSIBIO_API_HOST")
  Sys.unsetenv("CONSIBIO_USERNAME")
  Sys.unsetenv("CONSIBIO_PASSWORD")
  Sys.unsetenv("CONSIBIO_USER_ID")
}

Try the consibiocloudclient package in your browser

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

consibiocloudclient documentation built on Sept. 12, 2024, 9:34 a.m.