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] 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