Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sabanes Bove committed Dec 11, 2023
1 parent fba90e2 commit 7813d0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-fit_gee.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test_that("order_data works as expected", {
result <- expect_silent(order_data(data = df, vars = vars))
expect_integer(result$USUBJID, sorted = TRUE)
result_order <- order(result$USUBJID, result$AVISIT)
expect_identical(df_order, seq_len(nrow(result)))
expect_identical(result_order, seq_len(nrow(result)))
})

test_that("order_data messages are as expected and can be suppressed for character visit variable", {
Expand All @@ -66,7 +66,7 @@ test_that("order_data messages are as expected and can be suppressed for charact
)
expect_integer(result$USUBJID, sorted = TRUE)
result_order <- order(result$USUBJID, result$AVISIT)
expect_identical(df_order, seq_len(nrow(result)))
expect_identical(result_order, seq_len(nrow(result)))
})

# fit_gee ----
Expand Down

0 comments on commit 7813d0f

Please sign in to comment.