From hb at biostat.ucsf.edu  Sun Nov 27 23:17:10 2011
From: hb at biostat.ucsf.edu (Henrik Bengtsson)
Date: Sun, 27 Nov 2011 14:17:10 -0800
Subject: [Rd] Error in Rd[[which]] : subscript out of bounds
In-Reply-To: <399BD3B0-8276-4A8F-9F6D-C69E3E068FED@umd.edu>
References: <399BD3B0-8276-4A8F-9F6D-C69E3E068FED@umd.edu>
Message-ID: <CAFDcVCRKKzY60EP4r-i9249-CRYF5-LXJSu6RRmf4ZLuWH2xdA@mail.gmail.com>

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
>



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