Skip to content

Commit

Permalink
run styler
Browse files Browse the repository at this point in the history
  • Loading branch information
zdz2101 committed Apr 25, 2024
1 parent 162a9b2 commit 8d8bc86
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test-ard_car_vif.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test_that("ard_car_vif() appropriate errors are given for model with only 1 term
lm(AGE ~ ARM, data = cards::ADSL) |>
ard_car_vif() |>
dplyr::select(error) %>%
is.null,
is.null(),
FALSE
)
})
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/test-ard_effectsize_cohens_d.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ test_that("ard_effectsize_cohens_d() works", {
# errors are properly handled
expect_equal(
cards::ADSL |>
ard_effectsize_cohens_d(by = ARM, variables = AGE) |>
ard_effectsize_cohens_d(by = ARM, variables = AGE) |>
dplyr::select(error) %>%
is.null,
is.null(),
FALSE
)

Expand Down Expand Up @@ -91,7 +91,7 @@ test_that("ard_effectsize_paired_cohens_d() works", {
) |>
ard_effectsize_paired_cohens_d(by = ARM, variable = AGE, id = USUBJID) |>
dplyr::select(error) %>%
is.null,
is.null(),
FALSE
)
})
4 changes: 2 additions & 2 deletions tests/testthat/test-ard_effectsize_hedges_g.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test_that("ard_effectsize_hedges_g() works", {
cards::ADSL |>
ard_effectsize_hedges_g(by = ARM, variable = AGE) |>
dplyr::select(error) %>%
is.null,
is.null(),
FALSE
)

Expand Down Expand Up @@ -91,7 +91,7 @@ test_that("ard_effectsize_paired_hedges_g() works", {
) |>
ard_effectsize_paired_hedges_g(by = ARM, variable = AGE, id = USUBJID) |>
dplyr::select(error) %>%
is.null,
is.null(),
FALSE
)
})
4 changes: 2 additions & 2 deletions tests/testthat/test-ard_stats_t_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test_that("ard_stats_t_test() works", {
cards::ADSL |>
ard_stats_t_test(by = ARM, variable = AGE, var.equal = TRUE) |>
dplyr::select(error) %>%
is.null,
is.null(),
FALSE
)

Expand Down Expand Up @@ -111,7 +111,7 @@ test_that("ard_stats_paired_t_test() works", {
) |>
ard_stats_paired_t_test(by = ARM, variable = AGE, id = USUBJID, var.equal = TRUE) |>
dplyr::select(error) %>%
is.null,
is.null(),
FALSE
)
})

0 comments on commit 8d8bc86

Please sign in to comment.