From murdoch.duncan at gmail.com  Mon May 20 12:34:12 2013
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Mon, 20 May 2013 06:34:12 -0400
Subject: [Rd]
 =?windows-1252?q?R_CMD_check=3A_unknown_option_=91--outdir?=
 =?windows-1252?q?=3D=3DRCHECK=92?=
In-Reply-To: <CAEYvigJdjrJVO4DFo99Cca7MUHDqi+J2S+Yq4Ra-yUG0u-ddaA@mail.gmail.com>
References: <CAEYvigJdjrJVO4DFo99Cca7MUHDqi+J2S+Yq4Ra-yUG0u-ddaA@mail.gmail.com>
Message-ID: <5199FC24.4020000@gmail.com>

On 13-05-20 6:05 AM, Matthieu Stigler wrote:
> Dear R devel
>
> I am experiencing a problem using R CMD check. I tried to specify the
> argument outdir, but get every time the error message:
> Warning: unknown option ???--outdir==RCHECK???
>
> This happens both on R 2.15.2 Linux, as well as R 3.0.1 Windows, with
> latest Rtools. Is it just that I am not passing the argument the right way,
> or is there an issue with R CMD check?
>
> I tried to write the argument in many differents ways, but it always fails.
> Standard way I tried is:
> $ R CMD check --outdir="RCHECK"  pkg.tar.gz
> Warning: unknown option ???--outdir=RCHECK'

There are a couple of bugs here.  First, a simple typo: the code is 
looking for --output=RCHECK, not --outdir=RCHECK.  But if you use 
--output, you'll likely get an error saying you can't change directory 
to it.

I'll take a look at both.

Duncan Murdoch



[Rd] =?windows-1252?q?R_CMD_check=3A_unknown_option_=91--outdir?= =?windows-1252?q?=3D=3DRCHECK=92?=
Duncan Murdoch