Skip to content

(Re)Add warning for rank deficiency #1836

(Re)Add warning for rank deficiency

(Re)Add warning for rank deficiency #1836

Triggered via pull request July 13, 2026 09:42
Status Success
Total duration 7m 13s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint / lint: R/check_group_variation.R#L307
file=R/check_group_variation.R,line=307,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#L307
file=R/check_group_variation.R,line=307,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#L292
file=R/check_group_variation.R,line=292,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#L150
file=R/check_group_variation.R,line=150,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#L552
file=R/check_collinearity.R,line=552,col=7,[outer_negation_linter] !all(x) is better than any(!x). The former applies negation only once after aggregation instead of many times for each element of x.
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.