Skip to content

Commit

Permalink
Update test-ard_stats_anova.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Apr 15, 2024
1 parent fd19c77 commit e6c7bc0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/testthat/test-ard_stats_anova.R
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,14 @@ test_that("ard_stats_anova.data.frame() works", {
ard_anova_geeglm
)
})

test_that("ard_stats_anova.data.frame() error messaging", {
expect_error(
ard_stats_anova(
x = mtcars,
formulas = list(mpg ~ am, mpg ~ am + hp),
fn = "base::lm"
),
"cannot be namespaced"
)
})

0 comments on commit e6c7bc0

Please sign in to comment.