You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/r-lib/devtools/blob/master/R/run-examples.R#L19-L20 . From this documentation, I thought that running run_examples(run = TRUE) would mean that any examples enclosed with \dontrun{} would be ignored, but closed issue #1990 (and my own running of examples in an R package) suggests that I should use run_examples(run = FALSE) to not run examples enclosed with \dontrun{}.
I think the documentation needs to be updated to
#' @param run if `FALSE`, code in \code{\\dontrun{}} will be commented
#' out.
The text was updated successfully, but these errors were encountered:
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
lockbot
locked and limited conversation to collaborators
Mar 10, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://github.com/r-lib/devtools/blob/master/R/run-examples.R#L19-L20 . From this documentation, I thought that running
run_examples(run = TRUE)
would mean that any examples enclosed with \dontrun{} would be ignored, but closed issue #1990 (and my own running of examples in an R package) suggests that I should userun_examples(run = FALSE)
to not run examples enclosed with \dontrun{}.I think the documentation needs to be updated to
The text was updated successfully, but these errors were encountered: