diff --git a/tests/testthat/test-sim_utils.R b/tests/testthat/test-sim_utils.R index aba22cfceadb907f88b8e6dd400de235cbbde86b..497aa6c09b342320f0f2f99ae1578e51cfab2fd1 100644 --- a/tests/testthat/test-sim_utils.R +++ b/tests/testthat/test-sim_utils.R @@ -2,11 +2,10 @@ # helper function to skip tests if we don't have OpenGeoSys 6 dependencies skip_if_ogs6_missing <- function() { - ogs6_path <- paste0(unlist(options("r2ogs6.default_ogs6_bin_path")), - "ogs.exe") + ogs6_path <- unlist(options("r2ogs6.default_ogs6_bin_path")) if(!file.exists(ogs6_path)){ - skip("ogs.exe not available for testing") + skip("ogs executable not available for testing") } skip("Skipping tests that call ogs6_run_simulation()")