#' @title System Events
#' @export
#' @examples
#' # events contains the following events:
#' ls(events)
events <- new.env()
# Queries -----------------------------------------------------------------
events$FailedToQueryRepo <- function(context) {
invisible(glue("[\033[31mx\033[39m] Failed to retrieve `{context}` information"))
}
events$SucceededToQueryRepo <- function(context) {
invisible(glue("[\033[32mv\033[39m] Retrieved `{context}` information"))
}
events$FailedToQueryUser <- function(context) {
invisible(glue("[\033[31mx\033[39m] Failed to retrieve `{context}` information"))
}
events$SucceededToQueryUser <- function(context) {
invisible(glue("[\033[32mv\033[39m] Retrieved `{context}` information"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.