Skip to content

Commit 3f5aac8

Browse files
committed
Role needed stringi back to 1.1.7
1 parent cb6117a commit 3f5aac8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Depends:
1919
Imports:
2020
glue (>= 1.2.0),
2121
magrittr,
22-
stringi (>= 1.2.2)
22+
stringi (>= 1.1.7)
2323
Suggests:
2424
covr,
2525
htmltools,

tests/testthat/test-match.r

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ phones <- str_c(
1010
num[, 7], num[, 8], num[, 9], num[, 10])
1111

1212
test_that("empty strings return correct matrix of correct size", {
13+
skip_if_not_installed("stringi", "1.2.2")
14+
1315
expect_equal(str_match(NA, "(a)"), matrix(NA_character_, 1, 2))
1416
expect_equal(str_match(character(), "(a)"), matrix(character(), 0, 2))
1517
})

0 commit comments

Comments
 (0)