Check smooth #646
Annotations
1 error and 10 warnings
|
R/check_smooth.R#L19
file=R/check_smooth.R,line=19,col=23,[condition_call_linter] Use stop(., call. = FALSE) not to display the call in an error message.
|
R/check_smooth.R#L71
file=R/check_smooth.R,line=71,col=23,[sample_int_linter] sample.int(n, m, ...) is preferable to sample(1:n, m, ...).
|
R/check_smooth.R#L79
file=R/check_smooth.R,line=79,col=9,[object_overwrite_linter] 'beta' is an exported object from package 'base'. Avoid re-using such symbols.
|
R/check_smooth.R#L104
file=R/check_smooth.R,line=104,col=21,[sample_int_linter] sample.int(n, m, ...) is preferable to sample(1:n, m, ...).
|
R/check_smooth.R#L137
file=R/check_smooth.R,line=137,col=3,[brace_linter] Opening curly braces should never go on their own line and should always be followed by a new line.
|
R/check_smooth.R#L154
file=R/check_smooth.R,line=154,col=40,[seq_linter] Use seq_len(prod(...)) instead of 1:prod(...), which is likely to be wrong in the empty edge case.
|
R/check_smooth.R#L170
file=R/check_smooth.R,line=170,col=13,[seq_linter] Use seq_along(...) instead of 1:length(...), which is likely to be wrong in the empty edge case.
|
R/check_smooth.R#L181
file=R/check_smooth.R,line=181,col=25,[numeric_leading_zero_linter] Include the leading zero for fractional numeric constants.
|
R/check_smooth.R#L188
file=R/check_smooth.R,line=188,col=5,[object_overwrite_linter] 'by' is an exported object from package 'base'. Avoid re-using such symbols.
|
R/check_smooth.R#L222
file=R/check_smooth.R,line=222,col=12,[seq_linter] Use seq_len(nrow(...)) instead of 1:nrow(...), which is likely to be wrong in the empty edge case.
|
This job failed
Loading