From 223637a8d10cd8d689199c32aa6694bbb6b55e78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Mon, 28 Oct 2024 14:18:08 +0100 Subject: [PATCH] Fix a test case on R 4.0.x --- tests/testthat/test-rtools.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-rtools.R b/tests/testthat/test-rtools.R index d105458..5d835b6 100644 --- a/tests/testthat/test-rtools.R +++ b/tests/testthat/test-rtools.R @@ -19,7 +19,7 @@ test_that("has_rtools finds rtools", { without_cache( withr::with_path(Sys.getenv("R_HOME"), action = "replace", { has_rtools() - expect_true(rtools_path() != "") + expect_true(all(rtools_path() != "")) }) ) })