doc/Storing_and_Accessing_API_Keys.R

## ----eval=FALSE----------------------------------------------------------
#  library("keyring")

## ----eval=FALSE----------------------------------------------------------
#  library(keyring)
#  
#  ## Note that Sys.getenv("USERNAME") is used to dynamically tie the API key to the current user.
#  key_set(service = "ChemSpider API key", username = Sys.getenv("USERNAME"))
#  

## ----eval=FALSE----------------------------------------------------------
#  apikey <- key_get(service = "ChemSpider API key", username = Sys.getenv("USERNAME"))
NIVANorge/chemspideR documentation built on Jan. 8, 2021, 7:48 a.m.