Skip to content

Commit

Permalink
Update check_collinearity.R
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Nov 23, 2023
1 parent ce867f8 commit 131e825
Showing 1 changed file with 2 additions and 2 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

0 comments on commit 131e825

Please sign in to comment.