Restructuring of examples: some \donttest where previously \dontrun #134
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Now more examples can be run with just
example(funcname)
without an extrarun.dontrun=TRUE
, which was problematic anyway, as there was (and is) some unrunnable code inside\dontrun
. The\donttest
examples are not run byR CMD check
, so there's no major increase to check times. My intention also was to keep all possibly problematic (terms of service etc.) examples in\dontrun
.Some more examples (some of which are new) are now outside
\dontrun
anddonttest
. All of these work without network access. This increases the code coverage of the tests run byR CMD check
. It is also easy to run thedonttest
examples (no unrunnable code now) withR CMD check --run-donttest
.When adding a simple
urlonly=TRUE
example formapdist
, I discovered that the option was broken. A fix for that is included. This pull request also includes the changes made in #133.