Fix partial matching #326
lint-only-changed-files.yaml
on: pull_request
lint-changed-files
35m 3s
Annotations
1 error and 10 warnings
lint-changed-files
Process completed with exit code 31.
|
lint-changed-files:
R/create.R#L173
file=R/create.R,line=173,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#L175
file=R/create.R,line=175,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#L230
file=R/create.R,line=230,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#L251
file=R/create.R,line=251,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#L386
file=R/create.R,line=386,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`.
|
lint-changed-files:
R/dist.R#L249
file=R/dist.R,line=249,col=7,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|