From kasperdanielhansen at gmail.com  Tue Oct  3 14:59:11 2017
From: kasperdanielhansen at gmail.com (Kasper Daniel Hansen)
Date: Tue, 3 Oct 2017 08:59:11 -0400
Subject: [Rd] R CMD Rd2pdf and macros
Message-ID: <CAC2h7ut5otC6KS8tMmjdetm9D+VbpOY+7HaKMxrwsSFO_LoDiw@mail.gmail.com>

When I run R CMD Rd2pdf on the man pages of a package, ie
  R CMD Rd2pdf man

I get

Converting Rd files to LaTeX Warning in parse_Rd("man/mpra-package.Rd",
encoding = "unknown", fragment = FALSE,  :
  man/mpra-package.Rd:6: unknown macro '\packageTitle'
Warning in parse_Rd("man/mpra-package.Rd", encoding = "unknown", fragment =
FALSE,  :
  man/mpra-package.Rd:9: unknown macro '\packageDescription'
Warning in parse_Rd("man/mpra-package.Rd", encoding = "unknown", fragment =
FALSE,  :
  man/mpra-package.Rd:15: unknown macro '\packageAuthor'
Warning in parse_Rd("man/mpra-package.Rd", encoding = "unknown", fragment =
FALSE,  :
  man/mpra-package.Rd:17: unknown macro '\packageMaintainer'
Warning in parse_Rd("man/mpra-package.Rd", encoding = "unknown", fragment =
FALSE,  :
  man/mpra-package.Rd:24: unknown macro '\doi'

It would appear that installed, system level macros are not read and used?

Best,
Kasper

	[[alternative HTML version deleted]]



[Rd] R CMD Rd2pdf and macros
Kasper Daniel Hansen