R/err_msg.R

Defines functions err_msg

err_msg <- function(infix) {
  stringi::stri_c(ignore_null=TRUE, "{.arg {arg}} must be a",
                  infix,
                  ", not {.obj_type_friendly {x}}.")
}

Try the saros package in your browser

Any scripts or data that you put into this service are public.

saros documentation built on June 8, 2025, 10:43 a.m.