Require c() to be applied before relatively expensive vectorized functionsSource:
as.Date(c(a, b)) is logically equivalent to
ditto for the equivalence of several other vectorized functions like
as.POSIXct() and math functions like
sin(). The former is to be
preferred so that the most expensive part of the operation (
is applied only once.
linters for a complete list of linters available in lintr.