Skip to content

binned_residuals() for checking linearity of the logit #1880

binned_residuals() for checking linearity of the logit

binned_residuals() for checking linearity of the logit #1880

Triggered via pull request August 26, 2026 07:43
Status Success
Total duration 3m 21s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint / lint: R/check_group_variation.R#L337
file=R/check_group_variation.R,line=337,col=7,[return_linter] Use implicit return behavior; explicit return() is not needed.
lint / lint: R/check_group_variation.R#L328
file=R/check_group_variation.R,line=328,col=27,[paste_linter] Use paste(), not paste0(), to collapse a character vector when sep= is not used.
lint / lint: R/check_group_variation.R#L328
file=R/check_group_variation.R,line=328,col=27,[paste_linter] toString(.) is more expressive than paste(., collapse = ", "). Note also glue::glue_collapse() and and::and() for constructing human-readable / translation-friendly lists
lint / lint: R/check_group_variation.R#L313
file=R/check_group_variation.R,line=313,col=14,[scalar_in_linter] Use comparison operators (e.g. ==, !=, etc.) to match length-1 scalars instead of %in%. Note that if x can be NA, x == 'arg' is NA whereas x %in% 'arg' is FALSE, so consider extra protection for the missing case in your code.
lint / lint: R/check_group_variation.R#L157
file=R/check_group_variation.R,line=157,col=3,[object_overwrite_linter] 'by' is an exported object from package 'base'. Avoid re-using such symbols.
lint / lint: R/check_factorstructure.R#L230
file=R/check_factorstructure.R,line=230,col=3,[return_linter] Use implicit return behavior; explicit return() is not needed.
lint / lint: R/check_collinearity.R#L595
file=R/check_collinearity.R,line=595,col=3,[object_overwrite_linter] 'R' is an exported object from package 'tools'. Avoid re-using such symbols.
lint / lint: R/check_collinearity.R#L540
file=R/check_collinearity.R,line=540,col=13,[paste_linter] Use paste(), not paste0(), to collapse a character vector when sep= is not used.
lint / lint: R/check_collinearity.R#L540
file=R/check_collinearity.R,line=540,col=13,[paste_linter] toString(.) is more expressive than paste(., collapse = ", "). Note also glue::glue_collapse() and and::and() for constructing human-readable / translation-friendly lists
lint / lint: R/check_collinearity.R#L450
file=R/check_collinearity.R,line=450,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this expression from 49 to at most 40. Consider replacing high-complexity sections like loops and branches with helper functions.