Roy,

> All internet calls are wrapped in 'try()'.  If that shows an error, I
> write a message to the screen about the error, and call stop(),
> perhaps with a further message in that call.

out of ignorance, i ask ...

in your package's operational code ("its API", or whatever), when a
required internet access fails, i would think a message and a stop(),
might be the reasonable thing to do.

in examples or tests, either doing the access itself, or calling your
operational code, one might try() and not stop(), but, rather, go on to
the next example/test.

in your comment above, is the try()/stop() in your operational code or
in your tests/examples?

cheers, Greg

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to