Fix partial matching #325
lint-only-changed-files.yaml
on: pull_request
lint-changed-files
48m 57s
Annotations
1 error and 10 warnings
lint-changed-files
Process completed with exit code 31.
|
lint-changed-files:
R/create.R#L159
file=R/create.R,line=159,col=3,[trailing_whitespace_linter] Trailing whitespace is superfluous.
|
lint-changed-files:
R/create.R#L174
file=R/create.R,line=174,col=11,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|
lint-changed-files:
R/create.R#L176
file=R/create.R,line=176,col=26,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|
lint-changed-files:
R/create.R#L231
file=R/create.R,line=231,col=11,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|
lint-changed-files:
R/create.R#L252
file=R/create.R,line=252,col=30,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|
lint-changed-files:
R/create.R#L387
file=R/create.R,line=387,col=29,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|
lint-changed-files:
R/dist.R#L87
file=R/dist.R,line=87,col=7,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|
lint-changed-files:
R/dist.R#L100
file=R/dist.R,line=100,col=14,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|
lint-changed-files:
R/dist.R#L113
file=R/dist.R,line=113,col=14,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|
lint-changed-files:
R/dist.R#L144
file=R/dist.R,line=144,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`.
|