Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/statistikat/STATcubeR
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkowa committed Apr 18, 2024
2 parents deee029 + 3f65812 commit 6cbb1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/key.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sc_key_set <- function(key, server = "ext", test = TRUE) {
#' an error is thrown.
#' @export
sc_key_get <- function(server = "ext") {
if (!sc_key_exists(server))
if (!sc_key_exists(server = server))
stop("No STATcube key available. Set key with sc_key_set()")
invisible(Sys.getenv(sc_key_env_var(server)))
}
Expand Down

0 comments on commit 6cbb1a7

Please sign in to comment.