[Rd] possible bug in R CMD Rd2pdf

peter dalgaard pdalgd at gmail.com
Wed Sep 27 09:56:15 CEST 2017


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 <kasperdanielhansen at gmail.com> 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/mpra-package.Rd:6: file
> './DESCRIPTION' does not exist
> 
> This does not happen if I comment out 4 occurrences of these 4 macros in
> mpra-package.Rd.
> 
> This is with
> 
> R Under development (unstable) (2017-09-26 r73351) -- "Unsuffered
> Consequences"
> Copyright (C) 2017 The R Foundation for Statistical Computing
> Platform: x86_64-apple-darwin16.7.0 (64-bit)
> 
> or
> 
> R version 3.4.2 RC (2017-09-26 r73351) -- "Short Summer"
> Copyright (C) 2017 The R Foundation for Statistical Computing
> Platform: x86_64-apple-darwin16.7.0 (64-bit)
> 
> and MacTex 2017.
> 
> Best,
> Kasper
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-devel mailing list