[Rd] Error in Rd[[which]] : subscript out of bounds

Paul Bailey pdbailey at umd.edu
Sun Nov 27 22:46:48 CET 2011


I'm getting the following form R CMD CHECK mypackage
-----------
* checking Rd files ... WARNING
Error in Rd[[which]] : subscript out of bounds

problem found in ‘myfunction.Rd’
---------
This is... not the most helpful error.

I'd be happy to make a minimal .Rd example file if someone can point me to what a minimal .Rd file has in it.

The file is already pretty minimal, so it's possible I've already gone to small and that is the reason for the error.

Best,
Paul Bailey


More information about the R-devel mailing list