f <- function(x, y = "1") NULL
firmly(f, ~is.numeric)(1)
#> Error: firmly(f, ~is.numeric)(x = 1)
#> FALSE: is.numeric(y)
The error message is correct, but needs to be more informative: the full call, including default values, should be included. (Otherwise, it is a bit mysterious as to what y is, if you don't have f right in front of you.)
Currently, this happens:
The error message is correct, but needs to be more informative: the full call, including default values, should be included. (Otherwise, it is a bit mysterious as to what
y
is, if you don't havef
right in front of you.)