Skip to content

Commit

Permalink
fix no parser info
Browse files Browse the repository at this point in the history
  • Loading branch information
JBGruber committed Nov 4, 2023
1 parent c365a88 commit 3265b1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion R/deliver.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ pb_deliver.data.frame <- function(x, try_default = TRUE, verbose = NULL, ...) {
ws <- mget(ls(inform_now_env), envir = inform_now_env)
if (length(ws) > 0) {
names(ws) <- rep("i", length(ws))
cli::cli_alert_warning(ws)
for (w in ws) {
cli::cli_alert_warning(w)
}
rm(list = ls(inform_now_env), envir = inform_now_env)
}

Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ pb_tick <- function(x, verbose, pb) {
#' @noRd
warn_once <- function(id) {
if (is.null(inform_env[[id]])) {
inform_now_env[[id]] <- cli::format_message("No parser for domain {.strong {id}} yet, attempting generic approach.\n")
inform_now_env[[id]] <- cli::format_message("No parser for domain {.strong {id}} yet, attempting generic approach.")
inform_env[[id]] <- TRUE
}
}
Expand Down

0 comments on commit 3265b1a

Please sign in to comment.