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
Henrik Bengtsson
2011-Nov-27 22:17 UTC
[Rd] Error in Rd[[which]] : subscript out of bounds
sessionInfo()? If not R v2.14.0, try with that version first. Then have a look checkRd() of the 'tools' package, cf. help("checkRd", package="tools"). That function allows you to check your Rd file from within R so that you get more information/so that you can use traceback() etc. My $.02 /Henrik On Sun, Nov 27, 2011 at 1:46 PM, Paul Bailey <pdbailey at umd.edu> wrote:> 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 > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >