Skip to content

Commit f8eabb4

Browse files
committed
Remove data functions
1 parent 7bc690d commit f8eabb4

1 file changed

Lines changed: 0 additions & 34 deletions

File tree

tests/testthat/test-table_variables.R

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
1-
make_lb <- function() {
2-
tibble::tibble(
3-
STUDYID = c("S1","S1","S2","S2","S2", NA),
4-
USUBJID = paste0("P", seq_len(6)),
5-
LBTESTCD = c("HGB","HGB","ALT","ALT","ALT", NA),
6-
LBORRES = c(10,11,25,26,27, NA)
7-
)
8-
}
9-
10-
make_vs <- function() {
11-
tibble::tibble(
12-
STUDYID = c("S1","S2","S2"),
13-
USUBJID = c("A","B","C"),
14-
VSTESTCD = c("SYSBP","DIABP","SYSBP"),
15-
VSTEST = c("Systolic","Diastolic","Systolic")
16-
)
17-
}
18-
19-
make_sa <- function() {
20-
tibble::tibble(
21-
STUDYID = c("S1","S1","S2"),
22-
USUBJID = c("A","B","C"),
23-
SATERM = c("fever","Fever","rash")
24-
)
25-
}
26-
27-
make_ho <- function() {
28-
tibble::tibble(
29-
STUDYID = c("S1","S2"),
30-
USUBJID = c("A","B"),
31-
HOTERM = c("headache","headache")
32-
)
33-
}
34-
351
test_that("DM domain returns column names", {
362
dm <- tibble::tibble(STUDYID = "S", USUBJID = "P1", AGE = 10, SEX = "M")
373

0 commit comments

Comments
 (0)