[Rd] Error Message while Package creation

Berend Hasselman bhh at xs4all.nl
Thu Apr 25 07:39:10 CEST 2013


On 25-04-2013, at 07:21, Crish.. <krishnaiah.ac at gmail.com> wrote:

> Hello Guys,
> 
> I wanted to build a new R package from the R code. I installed all the
> required software and made all the path settings. 
> 
> When i tried running, 
> cmd> RCMD check SamplePackageName 
> 
> while "Checking R code for possible errors"
> 
> i have encountered a note saying: waning in png(file=Output_FileName,
> width=840, height=480, unit="px"): partial argument match of 'file' to
> 'filename'.
> 
> I don't have any idea of what this warning is. Any help is really
> appreciated.


It is exactly what it says. The relevant argument has name "filename" and not file (an abbreviation).
Use filename=Output_FileName.

Berend



More information about the R-devel mailing list