Block usage of paste() and paste0() with messaging functions using ...
Source:R/condition_message_linter.R
condition_message_linter.Rd
stop(paste0(...))
is strictly redundant -- stop(...)
is equivalent.
stop(...)
is also preferable to stop(paste(...))
. The same applies to
all default condition functions, i.e., stop()
, warning()
, message()
,
and packageStartupMessage()
.
See also
linters for a complete list of linters available in lintr.