Closed
Description
I'd have expected both of these arguments to have similar behaviour. Is this expected?
library(lintr)
invisible(undesirable_function_linter(fun = character(0L)))
undesirable_operator_linter(op = character(0L))
#> Error in undesirable_operator_linter(op = character(0L)): 'op' should be a named character vector; use missing elements to indicate default messages.
Created on 2022-12-20 with reprex v2.0.2