We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76bf243 commit b5786a6Copy full SHA for b5786a6
R/auth.R
@@ -1,4 +1,5 @@
1
#' Get the API key
2
+#' @aliases get_auth_key_test
3
#'
4
#' Get the API key from the environment variable `DELPHI_EPIDATA_KEY` or
5
#' `getOption("delphi.epidata.key")`.
@@ -9,7 +10,7 @@
9
10
get_auth_key <- function() {
11
key <- Sys.getenv("DELPHI_EPIDATA_KEY", unset = "")
12
if (key != "") {
- return(key)
13
+ return(key)
14
}
15
16
key <- getOption("delphi.epidata.key", default = "")
0 commit comments