rOpenHealth / rpubmed

Tools for extracting and processing Pubmed and Pubmed Central records.
42 stars 23 forks source link

Consider adding \dontrun to your examples? #7

Closed sckott closed 11 years ago

sckott commented 11 years ago

We usually do this because all our packages (including rpubmed) make web calls.

For example:

@examples \dontrun{
some code
}

Then the examples dont run during check or the CRAN tests when submitting to CRAN. But you can still run them by doing e.g. run_examples("pathtopackage", run=F), with run=F causing examples with \dontrun to be run.

DASpringate commented 11 years ago

Done.