Skip to content

Commit 2101f67

Browse files
committed
enable julia tests
1 parent d09e3dc commit 2101f67

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: R/helper-testthat.R

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
is_juliaconnector_prepared <- function(){
22

3-
is_juliaconnector_prepared <- tryCatch(
3+
find_julia_bindir <- tryCatch(
44
expr = {
55
# has JULIA_BINDIR env variable been set?
66
Sys.getenv()[["JULIA_BINDIR"]]
@@ -21,12 +21,11 @@ is_juliaconnector_prepared <- function(){
2121

2222
is_juliaconnector_prepared <-
2323
ifelse(
24-
is_juliaconnector_prepared != FALSE,
24+
find_julia_bindir != FALSE,
2525
TRUE,
2626
FALSE
2727
)
2828

29-
is_juliaconnector_prepared <- FALSE
3029
is_juliaconnector_prepared
3130

3231
}

0 commit comments

Comments
 (0)