Matthieu Stigler
2013-May-20 10:05 UTC
[Rd] R CMD check: unknown option ‘--outdir==RCHECK’
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' Thanks for your advices! Matthieu Stigler [[alternative HTML version deleted]]
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