Skip to content

Commit 92a8217

Browse files
committed
use skip_if_not() for improved readibility
1 parent 42a9842 commit 92a8217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/helpers.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Use to test quarto availability or version lower than
22
skip_if_no_quarto <- function(ver = NULL) {
33
skip_if(is.null(quarto_path()), message = "Quarto is not available")
4-
skip_if(
5-
!quarto_available(min = ver, error = FALSE),
4+
skip_if_not(
5+
quarto_available(min = ver, error = FALSE),
66
message = sprintf(
77
"Version of quarto is lower than %s: %s.",
88
ver,

0 commit comments

Comments
 (0)