The following issues are linted by default by this linter (and each can be turned off optionally):
Details
Block usage of
paste()
withsep = ""
.paste0()
is a faster, more concise alternative.Block usage of
paste()
orpaste0()
withcollapse = ", "
.toString()
is a direct wrapper for this, and alternatives likeglue::glue_collapse()
might give better messages for humans.Block usage of
paste0()
that suppliessep=
-- this is not a formal argument topaste0
, and is likely to be a mistake.
See also
linters for a complete list of linters available in lintr.