From 6885db4df4cd31121113597247e742d7aef8be77 Mon Sep 17 00:00:00 2001 From: Mark Niemann-Ross Date: Sun, 28 Apr 2024 17:09:10 -0700 Subject: [PATCH] there is no message on skip_on_os --- tests/testthat/test-is.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-is.R b/tests/testthat/test-is.R index 653e4c0..e7cdf07 100644 --- a/tests/testthat/test-is.R +++ b/tests/testthat/test-is.R @@ -1,6 +1,6 @@ test_that("is.rpi confirms/denies RPi", { - skip_on_os("mac", message = "This is a mac") - skip_on_os("windows", message = "this is windows") + skip_on_os("mac") + skip_on_os("windows") skip_if_not( file.exists("/etc/os-release"), message = "missing /etc/os-release") skip_if_not( any(grepl("Raspbian", readLines("/etc/os-release"))), message = "Raspbian is not in /etc/os-release")