R/glue_err.R

Defines functions glue_err

glue_err <- function(cnd, arg_name=NULL) {
  cli::cli_abort(c("Template is invalid",
                   x = "Problem with: {.arg {arg_name}}.",
                   i = "Check that curly braces are doubled if you really want to write a curly brace, e.g. {{{{r}}}}."),
                 parent = cnd)
}

Try the saros.base package in your browser

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

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