R/setCreds.R

Defines functions setCreds

Documented in setCreds

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 29, 2017, 8:25 p.m.