Learn R Programming

lintr (version 3.0.2)

condition_message_linter: Block usage of paste() and paste0() with messaging functions using ...

Description

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().

Usage

condition_message_linter()

Arguments

Tags

best_practices, consistency

See Also

linters for a complete list of linters available in lintr.