Use withr
in tests of data_write()
(#464)
#1680
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/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`.
|
lint / lint:
R/data_extract.R#L137
file=R/data_extract.R,line=137,col=7,[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`.
|
lint / lint:
R/data_match.R#L182
file=R/data_match.R,line=182,col=43,[keyword_quote_linter] Only quote targets of extraction with $ if necessary, i.e., if the name is not a valid R symbol (see ?make.names). Use backticks to create non-syntactic names, or use [[ to extract by string.
|
lint / lint:
R/data_match.R#L283
file=R/data_match.R,line=283,col=43,[keyword_quote_linter] Only quote targets of extraction with $ if necessary, i.e., if the name is not a valid R symbol (see ?make.names). Use backticks to create non-syntactic names, or use [[ to extract by string.
|
lint / lint:
R/data_modify.R#L122
file=R/data_modify.R,line=122,col=7,[commented_code_linter] Commented code should be removed.
|
lint / lint:
R/data_modify.R#L123
file=R/data_modify.R,line=123,col=7,[commented_code_linter] Commented code should be removed.
|