Skip to content

Commit

Permalink
styler
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Nov 23, 2023
1 parent 2b1c039 commit 8b234d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/check_collinearity.R
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@ check_collinearity.zerocount <- function(x,
# hurdle or zeroinfl model can have no zero-inflation formula, in which case
# we have the same formula as for conditional formula part
if (inherits(x, c("hurdle", "zeroinfl", "zerocount")) &&
component == "zero_inflated" &&
is.null(f[["zero_inflated"]])) {
component == "zero_inflated" &&

Check warning on line 446 in R/check_collinearity.R

View workflow job for this annotation

GitHub Actions / lint / lint

file=R/check_collinearity.R,line=446,col=4,[indentation_linter] Indentation should be 8 spaces but is 4 spaces.
is.null(f[["zero_inflated"]])) {
f$zero_inflated <- f$conditional
}

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-r2.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ withr::with_environment(
data(bioChemists, package = "pscl")
m <- glmmTMB::glmmTMB(
art ~ fem + mar + kid5 + ment,
ziformula = ~kid5 + phd,
ziformula = ~ kid5 + phd,
family = poisson(),
data = bioChemists
)
Expand Down

0 comments on commit 8b234d5

Please sign in to comment.