Re: [Rd] Best practices - R CMD check and vignettes

2007-09-19 Thread James W. MacDonald
;, package = "PkgName")) > > Max > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of James MacDonald > Sent: Monday, September 17, 2007 11:07 PM > To: [EMAIL PROTECTED] > Subject: [Rd] Best practices - R CMD

Re: [Rd] Best practices - R CMD check and vignettes

2007-09-19 Thread Kuhn, Max
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James MacDonald Sent: Monday, September 17, 2007 11:07 PM To: [EMAIL PROTECTED] Subject: [Rd] Best practices - R CMD check and vignettes Hi, I have a package that contains two vignettes that both use saved objects in the exam

[Rd] Best practices - R CMD check and vignettes

2007-09-19 Thread James MacDonald
Hi, I have a package that contains two vignettes that both use saved objects in the examples directory of the package. With previous versions of R I could have a code chunk in the vignette like this: <>= load("../examples/somedata.Rdata") @ followed by a code chunk like <>= foo <- bar("data")