Skip to content

Feature Request: Add support for lavaan objects in equivalence_test() #2551

Feature Request: Add support for lavaan objects in equivalence_test()

Feature Request: Add support for lavaan objects in equivalence_test() #2551

Triggered via pull request June 1, 2026 06:31
Status Success
Total duration 4m 38s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint / lint: R/dominance_analysis.R#L280
file=R/dominance_analysis.R,line=280,col=7,[if_not_else_linter] Prefer `if (A) x else y` to the less-readable `if (!A) y else x` in a simple if/else statement.
lint / lint: R/dominance_analysis.R#L253
file=R/dominance_analysis.R,line=253,col=32,[nzchar_linter] Use !nzchar(x) instead of x == "". Note that unlike nzchar(), EQ coerces to character, so you'll have to use as.character() if x is a factor. Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.
lint / lint: R/dominance_analysis.R#L231
file=R/dominance_analysis.R,line=231,col=7,[if_not_else_linter] Prefer `if (A) x else y` to the less-readable `if (!A) y else x` in a simple if/else statement.
lint / lint: R/dominance_analysis.R#L135
file=R/dominance_analysis.R,line=135,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this expression from 53 to at most 40. Consider replacing high-complexity sections like loops and branches with helper functions.
lint / lint: R/dof.R#L169
file=R/dof.R,line=169,col=3,[return_linter] Use implicit return behavior; explicit return() is not needed.
lint / lint: R/convert_efa_to_cfa.R#L113
file=R/convert_efa_to_cfa.R,line=113,col=10,[paste_linter] Use paste(), not paste0(), to collapse a character vector when sep= is not used.
lint / lint: R/ci_kenward.R#L54
file=R/ci_kenward.R,line=54,col=47,[function_argument_linter] Arguments without defaults should come before arguments with defaults.
lint / lint: R/ci_generic.R#L38
file=R/ci_generic.R,line=38,col=3,[if_switch_linter] Prefer switch() statements over repeated if/else equality tests, e.g., switch(x, a = 1, b = 2) over if (x == "a") 1 else if (x == "b") 2.
lint / lint: R/5_simulate_model.R#L286
file=R/5_simulate_model.R,line=286,col=33,[function_argument_linter] Arguments without defaults should come before arguments with defaults.
lint / lint: R/5_simulate_model.R#L286
file=R/5_simulate_model.R,line=286,col=29,[function_argument_linter] Arguments without defaults should come before arguments with defaults.