diff --git a/DESCRIPTION b/DESCRIPTION index a595f51..53b120b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: proofr Title: Client for the PROOF API -Version: 0.2.0.93 +Version: 0.2.0.94 Authors@R: person("Scott", "Chamberlain", , "sachamber@fredhutch.org", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-1444-9135")) diff --git a/R/utils.R b/R/utils.R index 7824706..fc35650 100644 --- a/R/utils.R +++ b/R/utils.R @@ -1,6 +1,7 @@ -proof_base <- "https://proof-api.fredhutch.org" make_url <- function(...) { + proof_base <- Sys.getenv("PROOF_API_BASE_URL", + "https://proof-api.fredhutch.org") file.path(proof_base, ...) }