From murdoch.duncan at gmail.com  Tue May 21 14:54:23 2013
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Tue, 21 May 2013 08:54:23 -0400
Subject: [Rd] R CMD check: unknown option ?--outdir==RCHECK?
In-Reply-To: <CAHavPHG7995M5XS9oJ2_RcGFh0JN1fbG4fVZQr9bykZEHx=3bw@mail.gmail.com>
References: <CAHavPHG7995M5XS9oJ2_RcGFh0JN1fbG4fVZQr9bykZEHx=3bw@mail.gmail.com>
Message-ID: <519B6E7F.5010509@gmail.com>

On 21/05/2013 8:13 AM, Renaud Gaujoux wrote:
> Hi,
>
> I believe this is kind of a long standing bug though. In R-3.0.1, but 
> this also happened in previous versions, the long version '--outdir' 
> is not recognised:
>
> For `R CMD check --outdir=mydir pkg_0.1.tar.gz` we get:
> Warning: unknown option ?--outdir=mydir?
>
> But with `R CMD check -o mydir pkg_0.1.tar.gz` we get:
> * using log directory ?/home/renaud/Documents/projects/mydir/pkg.Rcheck?
> ...
>
> which works perfectly fine, and puts pkg.Rcheck in 'mydir'.

I don't know how long standing it was, but as I said, it is purely a 
documentation bug.  The name of the option is --output, not --outdir.

Duncan Murdoch



[Rd] R CMD check: unknown option ?--outdir==RCHECK?
Duncan Murdoch