R/utils_error_message.R

Defines functions .error_message

#' @keywords internal
.error_message <- function(x, fun = "report()") {
  paste0(
    "Oops, objects of class [",
    toString(class(x)),
    "] are not supported (yet) by ",
    fun,
    " :(\n\nWant to help? Check out https://easystats.github.io/report/articles/new_models.html"
  )
}
neuropsychology/report documentation built on May 10, 2024, 7:23 a.m.