From 5d73ff694d9720de77aa3e3983712f3589ee7183 Mon Sep 17 00:00:00 2001 From: Trevor L Davis Date: Wed, 4 Aug 2021 10:13:40 -0700 Subject: [PATCH] chore: Skip lots of arguments test on Windows * Github Actions R-CMD-check chokes on Windows. Better to just skip it. --- tests/testthat/test-argparse.R | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testthat/test-argparse.R b/tests/testthat/test-argparse.R index 33f7f3b..aa819c8 100644 --- a/tests/testthat/test-argparse.R +++ b/tests/testthat/test-argparse.R @@ -181,6 +181,7 @@ test_that("parse_args works as expected", { expect_equal(args$character, "1") # Bug found by Taylor Pospisil + skip_on_os("windows") # Didn't work on Github Actions Windows skip_on_cran() # Once gave an error on win-builder parser <- ArgumentParser() parser$add_argument("--lotsofstuff", type = "character", nargs = "+")