From kasperdanielhansen at gmail.com  Wed Sep 27 04:27:47 2017
From: kasperdanielhansen at gmail.com (Kasper Daniel Hansen)
Date: Tue, 26 Sep 2017 22:27:47 -0400
Subject: [Rd] possible bug in R CMD Rd2pdf
Message-ID: <CAC2h7uuWF4auswUdFMLcW0uw24HXZhqT7erefta3h=2G+X6eoA@mail.gmail.com>

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



[Rd] possible bug in R CMD Rd2pdf
Kasper Daniel Hansen