Skip to content

Add testthat helper state #1990

Add testthat helper state

Add testthat helper state #1990

Triggered via pull request June 3, 2024 17:56
Status Success
Total duration 3m 39s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint / lint: R/adjust.R#L33
file=R/adjust.R,line=33,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 127 characters.
lint / lint: R/data_read.R#L164
file=R/data_read.R,line=164,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 152 characters.
lint / lint: R/data_rename.R#L48
file=R/data_rename.R,line=48,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 134 characters.
lint / lint: R/format.R#L18
file=R/format.R,line=18,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 125 characters.
lint / lint: R/format.R#L23
file=R/format.R,line=23,col=9,[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/format.R#L29
file=R/format.R,line=29,col=9,[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/ranktransform.R#L58
file=R/ranktransform.R,line=58,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 121 characters.
lint / lint: R/ranktransform.R#L74
file=R/ranktransform.R,line=74,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 134 characters.
lint / lint: R/remove_empty.R#L80
file=R/remove_empty.R,line=80,col=31,[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/reshape_ci.R#L45
file=R/reshape_ci.R,line=45,col=11,[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.