Skip to content

Prepare for CRAN

Prepare for CRAN #395

Triggered via pull request December 3, 2023 00:51
@rempsycrempsyc
synchronize #405
cran_prep1
Status Success
Total duration 6m 55s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

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] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". 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] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". 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] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". 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] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". 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] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". 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] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". 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] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". 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.