Skip to content

Commit

Permalink
chore: Skip lots of arguments test on Windows
Browse files Browse the repository at this point in the history
* Github Actions R-CMD-check chokes on Windows.
  Better to just skip it.
  • Loading branch information
trevorld committed Aug 4, 2021
1 parent df16a0b commit 5d73ff6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-argparse.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "+")
Expand Down

0 comments on commit 5d73ff6

Please sign in to comment.