From bhh at xs4all.nl  Thu Apr 25 07:39:10 2013
From: bhh at xs4all.nl (Berend Hasselman)
Date: Thu, 25 Apr 2013 07:39:10 +0200
Subject: [Rd] Error Message while Package creation
In-Reply-To: <1366867303824-4665346.post@n4.nabble.com>
References: <1366867303824-4665346.post@n4.nabble.com>
Message-ID: <496CE7CD-B6D2-4FB0-8B1D-61D1F3320FD2@xs4all.nl>


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



[Rd] Error Message while Package creation
Berend Hasselman