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
squ
I set \dontrun{} on (most of) the examples in my Azure-related packages, for
this very reason. They assume the user has an Azure subscription, and in any
case, you don't want to be running code that could potentially cost lots of
money just for kicks. The packages in question are basically all t