[Rd] R CMD check: unknown option ‘--outdir==RCHECK’
murdoch.duncan at gmail.com
Mon May 20 12:34:12 CEST 2013
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
I'll take a look at both.
More information about the R-devel