Skip to content

Commit

Permalink
bigglmm has been removed from CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
larmarange committed Jul 1, 2024
1 parent fe0744c commit a250eb6
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 25 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Imports:
Suggests:
betareg,
biglm,
biglmm,
brms (>= 2.13.0),
broom.mixed,
cmprsk,
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
- new argument `model_matrix_attr` in `tidy_and_attach()` and `tidy_plus_plus()`
to attach model frame and model matrix to the model as attributes for saving
some execution time (#254)

**Deprecated support**

- `biglmm::bigglm()` not supported anymore as `bigglmm` has been removed from
CRAN

# broom.helpers 1.15.0

Expand Down
1 change: 0 additions & 1 deletion data-raw/DATASET.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ supported_models <-
"`tidycmprsk::crr()`", "",
"`plm::plm()`", "",
"`biglm::bigglm()`", "",
"`biglmm::bigglm()`", "",
"`parsnip::model_fit`", "Supported as long as the type of model and the engine is supported.",
"`fixest::feglm()`", "May fail with R <= 4.0.",
"`fixest::femlm()`", "May fail with R <= 4.0.",
Expand Down
Binary file modified data/supported_models.rda
Binary file not shown.
1 change: 0 additions & 1 deletion man/supported_models.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 0 additions & 22 deletions tests/testthat/test-tidy_plus_plus.R
Original file line number Diff line number Diff line change
Expand Up @@ -650,28 +650,6 @@ test_that("tidy_plus_plus() works with biglm::bigglm", {
)
})

test_that("tidy_plus_plus() works with biglmm::bigglm", {
skip_on_cran()
skip_if_not_installed("biglmm")
skip_if(compareVersion(as.character(getRversion()), "3.6") < 0)

mod <- biglmm::bigglm(
response ~ age + trt,
data = as.data.frame(gtsummary::trial),
family = binomial()
)

expect_error(
res <- mod %>% tidy_plus_plus(),
NA
)

# check that reference rows are properly added
expect_equal(
res %>% dplyr::filter(variable == "trt") %>% purrr::pluck("reference_row"),
c(TRUE, FALSE)
)
})

test_that("tidy_plus_plus() works with parsnip::model_fit object", {
skip_on_cran()
Expand Down

0 comments on commit a250eb6

Please sign in to comment.