From 4e213ab7276316aba9ee9b674400525ae0ad5055 Mon Sep 17 00:00:00 2001 From: June Choe Date: Wed, 4 Oct 2023 13:13:24 -0400 Subject: [PATCH] finish running rest of setup at top of tests --- tests/testthat/test-aaa-a-logging.R | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-aaa-a-logging.R b/tests/testthat/test-aaa-a-logging.R index c23e110..628657d 100644 --- a/tests/testthat/test-aaa-a-logging.R +++ b/tests/testthat/test-aaa-a-logging.R @@ -2,7 +2,12 @@ skip_conditionally() stopJulia() system2("julia", '-e "using InteractiveUtils; println(versioninfo());"') -start_with_threads(max_threads = 2, verbose = TRUE) -set_projenv(verbose = TRUE) + +# Individually run `jlmerclusterperm_setup()` +jlmerclusterperm:::start_with_threads(max_threads = 2, verbose = TRUE) +jlmerclusterperm:::set_projenv(verbose = TRUE) cat(JuliaConnectoR::juliaCall("Pkg.status")) cat(readLines(file.path(jlmerclusterperm:::.jlmerclusterperm$opts$projdir, "Manifest.toml")), sep = "\n") +jlmerclusterperm:::source_jl(verbose = TRUE) +jlmerclusterperm:::define_globals() +jlmerclusterperm:::cleanup_jl()