| log_error | R Documentation |
Log an error message and abort
log_error(..., wrap = TRUE, .envir = parent.frame())
... |
Character strings to log. Supports glue-style interpolation. |
wrap |
Logical. Whether to wrap long messages (default TRUE). |
.envir |
Environment for glue interpolation (default: parent frame). |
## Not run:
log_error("Critical error occurred")
file_path <- "missing.csv"
log_error("File not found: {file_path}")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.