Fix tests for testthat 3.2.0 release #1675
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/assign_labels.R#L82
file=R/assign_labels.R,line=82,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 125 characters.
|
lint / lint:
R/categorize.R#L195
file=R/categorize.R,line=195,col=7,[keyword_quote_linter] Only quote named arguments to functions if necessary, i.e., if the name is not a valid R symbol (see ?make.names).
|
lint / lint:
R/categorize.R#L196
file=R/categorize.R,line=196,col=7,[keyword_quote_linter] Only quote named arguments to functions if necessary, i.e., if the name is not a valid R symbol (see ?make.names).
|
lint / lint:
R/categorize.R#L197
file=R/categorize.R,line=197,col=7,[keyword_quote_linter] Only quote named arguments to functions if necessary, i.e., if the name is not a valid R symbol (see ?make.names).
|
lint / lint:
R/categorize.R#L198
file=R/categorize.R,line=198,col=7,[keyword_quote_linter] Only quote named arguments to functions if necessary, i.e., if the name is not a valid R symbol (see ?make.names).
|
lint / lint:
R/categorize.R#L199
file=R/categorize.R,line=199,col=7,[keyword_quote_linter] Only quote named arguments to functions if necessary, i.e., if the name is not a valid R symbol (see ?make.names).
|
lint / lint:
R/center.R#L221
file=R/center.R,line=221,col=47,[unnecessary_lambda_linter] Pass attributes directly as a symbol to vapply() instead of wrapping it in an unnecessary anonymous function. For example, prefer lapply(DF, sum) to lapply(DF, function(x) sum(x)).
|
lint / lint:
R/center.R#L222
file=R/center.R,line=222,col=46,[unnecessary_lambda_linter] Pass attributes directly as a symbol to vapply() instead of wrapping it in an unnecessary anonymous function. For example, prefer lapply(DF, sum) to lapply(DF, function(x) sum(x)).
|
lint / lint:
R/data_arrange.R#L49
file=R/data_arrange.R,line=49,col=9,[if_not_else_linter] In a simple if/else statement, prefer `if (A) x else y` to the less-readable `if (!A) y else x`.
|