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 a598443 commit d183542Copy full SHA for d183542
R/envvars.R
@@ -1,17 +1,3 @@
1
-acquaint_port <- function(call = caller_env()) {
2
- port <- Sys.getenv("ACQUAINT_PORT", "8000")
3
-
4
- tryCatch(
5
- return(as.numeric(port)),
6
- error = function(e) {
7
- cli::cli_abort(
8
- c("{.env ACQUAINT_PORT} must be coercible to a number."),
9
- call = call
10
- )
11
- }
12
13
-}
14
15
acquaint_log_file <- function() {
16
Sys.getenv("ACQUAINT_LOG_FILE", tempfile(fileext = ".txt"))
17
}
0 commit comments