-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in devtools::run_examples() devtools_2.0.1 #107
Comments
- "devtools" v2.0.1 mixed up the logic for "dontrun" examples (see https://github.com/r-lib/devtools/issues/2003); until this is fixed, use `devtools::run_examples(run = FALSE)` - Note: revert this commit once devtools issue 2003 is fixed
This is actually a bug in pkgload, these lines should not have Lines 48 to 50 in 78e7e3a
|
Well, then I guess the same applies to I.e. IMHO: The param names |
I'm confused by the wording of the documentation in regards to the run/test arguments. I would like to suggest that the wording be changed to be similar to what is shown by Rcmd check:
Something like this makes more sense to me:
|
Why not: #' @param run_donttest if `TRUE`, do run code in \code{\\donttest{}} sections.
#' @param run_dontrun if `TRUE`, do run code in \code{\\dontrun{}} sections. IMHO, the clarity gained would by far outweigh the additional typing required. |
Fixed by r-lib/devtools#2146 and 3347012. |
run_examples(run= FALSE) does what run_examples(run=TRUE) is actually supposed to do, it comments out code in \dontrun{}.
The text was updated successfully, but these errors were encountered: