R/setCreds.R

cacheEnv <- new.env()

setCreds <- function(user,pass){
  assign("creds",list(user,pass), envir=cacheEnv)
  message("API credentials saved. You may now use package functions.")
}

Try the ONETr package in your browser

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

ONETr documentation built on May 2, 2019, 6:46 a.m.