Skip to content

Commit d183542

Browse files
committed
remove code referencing unused envvar
1 parent a598443 commit d183542

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

R/envvars.R

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
151
acquaint_log_file <- function() {
162
Sys.getenv("ACQUAINT_LOG_FILE", tempfile(fileext = ".txt"))
173
}

0 commit comments

Comments
 (0)