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'. Renaud [[alternative HTML version deleted]]
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
Maybe Matching Threads
- R CMD check --outdir=path gives unknown option '--outdir'
- R CMD check: unknown option ‘--outdir==RCHECK’
- Error in setwd(outDir) : cannot change working directory
- Namespace/inheritance problem in S4 methods for a union class
- R CMD check and error in an \Sexpr in an Rd file