Skip to content

Commit 7e65b44

Browse files
authored
update testthat version (#359)
We need to bump up `testthat` version because we're using `testthat::it` function in unit tests. This function was introduced in `3.1.8`: https://github.com/r-lib/testthat/blob/v3.1.8/R/describe.R#L89 This update will fix the `Dependency Test - min isolated`:
1 parent 5a67fec commit 7e65b44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Imports:
4040
Suggests:
4141
knitr (>= 1.42),
4242
rmarkdown (>= 2.23),
43-
testthat (>= 3.1.5),
43+
testthat (>= 3.2.2),
4444
withr (>= 2.0.0)
4545
VignetteBuilder:
4646
knitr,

tests/testthat/test-cdisc_join_keys.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
testthat::test_that("default_cdisc_join_keys is assigned in package environment", {
2-
testthat::expect_true(exists("default_cdisc_join_keys"))
2+
testthat::expect_true(exists("default_cdisc_join_keys", where = asNamespace("teal.data")))
33
testthat::expect_gt(length(default_cdisc_join_keys), 0)
44
})
55

0 commit comments

Comments
 (0)