Skip to content

Commit 7f63c3a

Browse files
Use canonical skip in another file too
1 parent 9e3e5e0 commit 7f63c3a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/testthat/test_print_Appender.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ context("print_Appender")
44

55

66
test_that("all Appenders print() without failure", {
7-
if (!requireNamespace("rotor")){
8-
skip("Required packages not installed")
9-
}
7+
skip_if_not_installed("rotor")
108

119
tf <- tempfile()
1210
on.exit(unlink(tf))

0 commit comments

Comments
 (0)