Skip to content

Commit

Permalink
Skip test on CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Mar 8, 2023
1 parent 5e044ba commit 498a344
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-class_build.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,14 @@ tar_test("validate good builds", {
})

tar_test("validate builds with bad metrics", {
skip_cran()
build <- build_init(quote(1L + 1L), baseenv())
build$metrics$seconds <- NULL
expect_error(build_validate(build), class = "tar_condition_validate")
})

tar_test("encoding issue error handling", {
skip_cran()
suppressWarnings(
build <- build_init(
quote(warning("<<\"pT\xbf\xbfD\x80QY\x94C\xd1")),
Expand Down

0 comments on commit 498a344

Please sign in to comment.