Skip to content

Commit

Permalink
upgrade args2vars; update rworkflows; fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Dec 10, 2023
1 parent 6980861 commit 1f26f5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/stop_early.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @export
#' @examples
#' testfun <- function(...) {stop_early(); message("Completed function."); 1}
#' testfun()
#' if(interactive()) testfun()
stop_early <- function(msg="Exiting function early.") {
opt <- options(show.error.messages = FALSE)
on.exit(options(opt))
Expand Down
4 changes: 2 additions & 2 deletions man/stop_early.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1f26f5e

Please sign in to comment.