Skip to content

[Feature] report() for BayesFactor objects #437

[Feature] report() for BayesFactor objects

[Feature] report() for BayesFactor objects #437

Triggered via pull request April 1, 2024 13:39
Status Success
Total duration 2m 34s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint / lint: R/cite_easystats.R#L86
file=R/cite_easystats.R,line=86,col=13,[nzchar_linter] Use nzchar(x) instead of x != "". Note that unlike nzchar(), NE 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/cite_easystats.R#L90
file=R/cite_easystats.R,line=90,col=13,[nzchar_linter] Use nzchar(x) instead of x != "". Note that unlike nzchar(), NE 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/cite_easystats.R#L98
file=R/cite_easystats.R,line=98,col=13,[nzchar_linter] Use nzchar(x) instead of x != "". Note that unlike nzchar(), NE 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/cite_easystats.R#L188
file=R/cite_easystats.R,line=188,col=18,[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/cite_easystats.R#L348
file=R/cite_easystats.R,line=348,col=58,[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/cite_easystats.R#L365
file=R/cite_easystats.R,line=365,col=48,[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/cite_easystats.R#L396
file=R/cite_easystats.R,line=396,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/cite_easystats.R#L439
file=R/cite_easystats.R,line=439,col=5,[nzchar_linter] Use nzchar(x) instead of x != "". Note that unlike nzchar(), NE 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/format_algorithm.R#L16
file=R/format_algorithm.R,line=16,col=3,[object_overwrite_linter] 'text' is an exported object from package 'graphics'. Avoid re-using such symbols.
lint / lint: R/format_algorithm.R#L23
file=R/format_algorithm.R,line=23,col=3,[object_overwrite_linter] 'text' is an exported object from package 'graphics'. Avoid re-using such symbols.