Skip to content
Prev 6170 / 12125 Next

[R-pkg-devel] [EXTERNAL] Usage of internet resources in examples

Thanks everyone for the responses. I?m not sure why I didn?t think of wrapping the examples in try(), but I think that might be the best solution - allows the examples to be run, but won?t throw errors in R CMD check.

Hong Ooi - that?s a good point though I think your example does fall more squarely into the ?use dontrun? category as they require a subscription/API key. Our examples don?t, but they can fail if the internet connection fails, the resource url changes, or the server is down.

Cheers,
Andy