Skip to content

Commit 7876d43

Browse files
committed
relax strictness in clinical_data checks
1 parent 5d43df4 commit 7876d43

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/testthat/test_clinical.R

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ test_that("clinical data is structured properly", {
1414
)
1515
)
1616

17-
expect_identical(
18-
vapply(clinical_data, nrow, integer(1L)),
19-
c(
20-
demographic = 3L, diagnoses = 3L, exposures = 3L,
21-
follow_ups = 5L, main = 3L
17+
expect_true(
18+
all(
19+
vapply(clinical_data, nrow, integer(1L)) >= sizen
2220
)
2321
)
2422
expect_true(

0 commit comments

Comments
 (0)