Skip to content

Commit

Permalink
tt
Browse files Browse the repository at this point in the history
  • Loading branch information
jinseob2kim committed Jul 24, 2021
1 parent 3607920 commit 179a0e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-svyCreateTableOne.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ test_that("Run SvyCreateOneTableJS", {
expect_is(svyCreateTableOneJS(vars = c("HI_CHOL","race","RIAGENDR"),
strata = "SDMVPSU", strata2 = "agecat", data = nhanesSvy, factorVars = c("HI_CHOL", "race", "RIAGENDR"), labeldata = a.label, Labels = T, showAllLevels = F), "list")

expect_is(svyCreateTableOneJS(vars = c("HI_CHOL","race","RIAGENDR"), data = nhanesSvy, labeldata = a.label, Labels = T,
expect_is(svyCreateTableOneJS(vars = c("HI_CHOL","race","RIAGENDR"), data = nhanesSvy, factorVars = c("HI_CHOL", "race", "RIAGENDR"), labeldata = a.label, Labels = T,
includeNA = F, showAllLevels = T, printToggle = F, quote = F, nonnormal = NULL, catDigits = 2, contDigits = 2
), "list")

expect_is(svyCreateTableOneJS(vars = c("HI_CHOL","race","RIAGENDR"), data = nhanesSvy, labeldata = a.label, Labels = T,
expect_is(svyCreateTableOneJS(vars = c("HI_CHOL","race","RIAGENDR"), data = nhanesSvy, factorVars = c("HI_CHOL", "race", "RIAGENDR"), labeldata = a.label, Labels = T,
includeNA = F, showAllLevels = F, printToggle = F, quote = F, nonnormal = NULL, catDigits = 2, contDigits = 2
), "list")
})

0 comments on commit 179a0e4

Please sign in to comment.