Skip to content

Commit b1b5b8f

Browse files
committed
relax tests for exposures element in clinical_data
1 parent 097289f commit b1b5b8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/test_clinical.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ test_that("clinical data is structured properly", {
1414
)
1515
)
1616

17+
## exposures has no rows
18+
clinical_data <- clinical_data[names(clinical_data) != "exposures"]
1719
expect_true(
1820
all(
1921
vapply(clinical_data, nrow, integer(1L)) >= sizen

0 commit comments

Comments
 (0)