Skip to content
Prev 170376 / 398503 Next

Running examples failed (but there are none).

Remko Duursma wrote:
Hi Remko,
There are a number of ways in which the example code can run in the 
current R interpreter but fail in the checking of a package. Quite often 
it is that a package has been loaded in the current R interpreter and 
that package is not explicitly loaded in the example section. Even when 
it is loaded explicitly, there can be problems making sure that the 
example won't run if the package is unavailable. I devised an example 
for the vector.field function that used the maps package and I was never 
able to work out how to get it to check properly.

Jim