Re: [Rd] Reading a specific file during R CMD check?

2011-02-05 Thread Prof Brian Ripley
On Fri, 4 Feb 2011, Hadley Wickham wrote: Hi Spencer, I think one of the early phases of R CMD check is R CMD install - it installs the package into a special location so that it doesn't override existing installed packages, but still allows function to work exactly as if they were in an

Re: [Rd] Reading a specific file during R CMD check?

2011-02-05 Thread Spencer Graves
Thanks very much to Hadley and Prof. Ripley for their replies -- and my apologies to the list for failing to check my facts before I posted: Prof. Ripley's reply was correct: system.file('rawdata', package='testPackage') in a help page in package 'tstPackage' with subdirectory

Re: [Rd] keep.source when semicolons separate statements on the one line

2011-02-05 Thread Duncan Murdoch
On 04/02/2011 3:34 PM, Kevin R. Coombes wrote: This is probably the same underlying bug, but it is not caused by semicolons. Yes, it was the same bug. I think I have it fixed now, and will commit after some more testing. Duncan Murdoch If you use keep,soure=TRUE with expand=FALSE and

[Rd] print(...,digits=2) behavior

2011-02-05 Thread Ben Bolker
A bug was recently posted to the R bug database (which probably would better have been posted as a query here) as to why this happens: print(7.921,digits=2) [1] 8 print(7.92,digits=2) [1] 7.9 Two things I *haven't* done to help make sense of this for myself are (1) writing out the binary

Re: [Rd] keep.source when semicolons separate statements on the one line

2011-02-05 Thread Duncan Murdoch
On 05/02/2011 1:18 PM, Duncan Murdoch wrote: On 04/02/2011 3:34 PM, Kevin R. Coombes wrote: This is probably the same underlying bug, but it is not caused by semicolons. Yes, it was the same bug. I think I have it fixed now, and will commit after some more testing. Now committed as r54232