Skip to content

Commit

Permalink
Only run progress examples interactively
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhester committed Oct 22, 2021
1 parent 7676c67 commit e19b1c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/source.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#'
#' num_odd(as.integer(c(1:10, 15, 23)))
#'
#' if (require("progress")) {
#' if (interactive() && require("progress")) {
#'
#' cpp_source(
#' code = '
Expand Down
2 changes: 1 addition & 1 deletion man/cpp_source.Rd

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

0 comments on commit e19b1c1

Please sign in to comment.