Re: [Rd] possible bug in R CMD Rd2pdf

2017-09-27 Thread Duncan Murdoch
On 27/09/2017 1:57 PM, Kasper Daniel Hansen wrote: Sorry for the noise. I wouldn't call this noise, it's a bug that happens to have a fairly easy workaround. The tools functions are mainly for use by R utilities, so they sometimes make strong assumptions about the context in which they are

Re: [Rd] possible bug in R CMD Rd2pdf

2017-09-27 Thread Kasper Daniel Hansen
Sorry for the noise. I assumed I could run this in the same directory as R CMD check. If I cd into the package dir, and run it like R CMD Rd2pdf man it works. I was a bit sleep deprived yesterday. The fact that the output starts by Hmm ... looks like a package threw me off. That output sugges

Re: [Rd] possible bug in R CMD Rd2pdf

2017-09-27 Thread Duncan Murdoch
On 26/09/2017 10:27 PM, Kasper Daniel Hansen wrote: When I include the macros \packageAuthor, \packageDescription, \packageTitle, \packageMaintainer in a XX-package.Rd file, R CMD Rd2pdf fails with $ R CMD Rd2pdf mpra Hmm ... looks like a package Converting Rd files to LaTeX Error : mpra/man/mpr

Re: [Rd] possible bug in R CMD Rd2pdf

2017-09-27 Thread peter dalgaard
If it is looking for ./DESCRIPTION, perhaps it matters which directory you invoke it from? -pd > On 27 Sep 2017, at 04:27 , Kasper Daniel Hansen > wrote: > > When I include the macros \packageAuthor, \packageDescription, > \packageTitle, \packageMaintainer in a XX-package.Rd file, R CMD Rd2pd