FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Only run progress examples interactively · prsgroup/cpp11@e19b1c1 · GitHub

Repository navigation

Commit e19b1c1

Browse files
committed
Only run progress examples interactively
1 parent 7676c67 commit e19b1c1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎R/source.R‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#'
4141
#' num_odd(as.integer(c(1:10, 15, 23)))
4242
#'
43-
#' if (require("progress")) {
43+
#' if (interactive() && require("progress")) {
4444
#'
4545
#' cpp_source(
4646
#' code = '

‎man/cpp_source.Rd‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL