Skip to content

Commit

Permalink
hack for non-interactive sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
LiNk-NY committed Aug 15, 2024
1 parent 326d91a commit fa9075e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/util.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ handleCheck <- function(..., appendLF=TRUE)
{
msg <- paste0(...)
.BiocCheck$setCheck(msg)
cli::cli_progress_step(msg = msg)
if (!interactive())
cli::cli_text(paste("*", msg))
else
cli::cli_progress_step(msg = msg)
}

handleError <- function(...)
Expand Down

0 comments on commit fa9075e

Please sign in to comment.