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

Duncan Murdoch murdoch.duncan at gmail.com
Tue May 21 14:54:23 CEST 2013


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



More information about the R-devel mailing list