distribution interface to dist_spec
#369
Annotations
1 error and 10 warnings
|
R/adjust.R#L151
file=R/adjust.R,line=151,col=17,[unnecessary_concatenation_linter] Unneeded concatenation of a constant. Remove the "c" call.
|
R/adjust.R#L156
file=R/adjust.R,line=156,col=26,[spaces_inside_linter] Do not place spaces before parentheses.
|
R/adjust.R#L184
file=R/adjust.R,line=184,col=7,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|
R/dist.R#L128
file=R/dist.R,line=128,col=14,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
|
R/dist.R#L917
file=R/dist.R,line=917,col=18,[unnecessary_concatenation_linter] Unneeded concatenation without arguments. Replace the "c" call by NULL or, whenever possible, vector() seeded with the correct type and/or length.
|
R/dist.R#L946
file=R/dist.R,line=946,col=20,[unnecessary_concatenation_linter] Unneeded concatenation without arguments. Replace the "c" call by NULL or, whenever possible, vector() seeded with the correct type and/or length.
|
R/dist.R#L1147
file=R/dist.R,line=1147,col=31,[redundant_equals_linter] Using == on a logical vector is redundant. Well-named logical vectors can be used directly in filtering. For data.table's `i` argument, wrap the column name in (), like `DT[(is_treatment)]`.
|
R/dist.R#L1248
file=R/dist.R,line=1248,col=14,[numeric_leading_zero_linter] Include the leading zero for fractional numeric constants.
|
R/dist.R#L1258
file=R/dist.R,line=1258,col=9,[object_usage_linter] local variable 'ret' assigned but may not be used
|
R/dist.R#L1273
file=R/dist.R,line=1273,col=8,[numeric_leading_zero_linter] Include the leading zero for fractional numeric constants.
|
The logs for this run have expired and are no longer available.
Loading