We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d09e3dc commit 2101f67Copy full SHA for 2101f67
R/helper-testthat.R
@@ -1,6 +1,6 @@
1
is_juliaconnector_prepared <- function(){
2
3
- is_juliaconnector_prepared <- tryCatch(
+ find_julia_bindir <- tryCatch(
4
expr = {
5
# has JULIA_BINDIR env variable been set?
6
Sys.getenv()[["JULIA_BINDIR"]]
@@ -21,12 +21,11 @@ is_juliaconnector_prepared <- function(){
21
22
is_juliaconnector_prepared <-
23
ifelse(
24
- is_juliaconnector_prepared != FALSE,
+ find_julia_bindir != FALSE,
25
TRUE,
26
FALSE
27
)
28
29
- is_juliaconnector_prepared <- FALSE
30
is_juliaconnector_prepared
31
32
}
0 commit comments