From 95ba3aa23262e33b95a1b43dfea822c36589eda3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Sun, 31 Mar 2024 13:57:56 +0200 Subject: [PATCH] Skip the correct tests on Windows The ones that actually fail. --- tests/testthat/test-kill-tree.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/testthat/test-kill-tree.R b/tests/testthat/test-kill-tree.R index 5e50bd87..4dee9500 100644 --- a/tests/testthat/test-kill-tree.R +++ b/tests/testthat/test-kill-tree.R @@ -82,6 +82,10 @@ test_that("kill_tree", { test_that("kill_tree with children", { skip_on_cran() skip_if_no_ps() + # temporarily + if (getRversion() >= "4.0.0" && is_windows()) { + skip("Fails on Windows & new R") + } tmp <- tempfile() on.exit(unlink(tmp), add = TRUE) @@ -111,10 +115,6 @@ test_that("kill_tree with children", { test_that("kill_tree and orphaned children", { skip_on_cran() skip_if_no_ps() - # temporarily - if (getRversion() >= "4.0.0" && is_windows()) { - skip("Fails on Windows & new R") - } tmp <- tempfile() on.exit(unlink(tmp), add = TRUE)