Skip to content

R CMD check: unknown option ‘--outdir==RCHECK’

3 messages · Matthieu Stigler, Duncan Murdoch

#
On 13-05-20 6:05 AM, Matthieu Stigler wrote:
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
#
On 13-05-20 6:34 AM, Duncan Murdoch wrote:
Sorry, only one bug, misleading help text.

The help text says

   -o, --outdir=DIR      directory used for logfiles, R output, etc.
			(default is 'pkg.Rcheck' in current directory,
			where 'pkg' is the name of the package checked)

but in fact DIR is the location where pkg.Rcheck will be placed.  It 
needs to exist in advance.  (This allows multiple packages to be checked 
in one command.  I've never used multiple checks at once, but it looks 
like something CRAN might need to do.)

I'll fix this by changing the help text, not the behaviour.

Duncan Murdoch