[Rd] R CMD check and DESCRIPTION file with Authors@R only

2014-06-11 Thread Mathew McLean
Section 1.1 of R-exts mentions that the Maintainer and Author fields can be omitted from the DESCRIPTION file if Authors@R is supplied. However, R CMD check does not seem to like this. package.skeleton("foo") desc <- readLines("foo/DESCRIPTION") desc[6] <- "Authors@R: person('Mathew', 'McLean', e

Re: [Rd] R CMD check and DESCRIPTION file with Authors@R only

2014-06-11 Thread Martyn Plummer
You need to run "R CMD build" on your package, then run "R CMD check" on the resulting tarball, as recommended in section 1.3.1 of the "Writing R Extensions" manual. The tarball will contain a version of the DESCRIPTION file with Author and Maintainer fields built from the Authors@R field. Martyn

[Rd] Should documentation for box() be more clear about bty?

2014-06-11 Thread Joran Elias
Looking at this: https://github.com/wch/r-source/blob/trunk/src/library/graphics/src/graphics.c#L3095 it seems to me that the bty argument is ignored in box() when which != "plot". Should this be mentioned somewhere explicitly in the documentation for box()? Thanks! - Joran [[alternati