tidymodels / broom

Convert statistical analysis objects from R into tidy format
https://broom.tidymodels.org
Other
1.45k stars 304 forks source link

check failure with upcoming car release #1215

Closed simonpcouch closed 3 weeks ago

simonpcouch commented 3 weeks ago

From email:

The development version of car 3.1-3, available on R-Forge at
<https://r-forge.r-project.org/R/?group_id=531>, produces a new error in
the broom package tests. Specifically:

-------- snip ---------

ℹ Loading broom
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 56 ]

── Error (test-stats-anova.R:119:3): tidy.linearHypothesis
─────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `strsplit(x_attr$heading[grep("Response", x_attr$heading)],
"\n")[[1]]`: subscript out of bounds
Backtrace:
     ▆
  1. ├─generics::tidy(fit_lht) at test-stats-anova.R:119:3
  2. └─broom:::tidy.anova(fit_lht)
  3.   └─base::sub(...) at broom/R/stats-anova-tidiers.R:139:7
  4.     └─base::is.factor(x)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 56 ]

Test complete

-------- snip ---------

We plan to submit the new version of car to CRAN in a couple of weeks,
to give you a chance to address this problem. Please let me know if
there any complications.
simonpcouch commented 3 weeks ago

Can install with pak::pak("car=url::http://download.r-forge.r-project.org/src/contrib/car_3.1-3.tar.gz").

github-actions[bot] commented 1 week ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.