[Rd] R CMD Rd2pdf and macros

Kasper Daniel Hansen kasperdanielhansen at gmail.com
Tue Oct 3 14:59:11 CEST 2017


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



More information about the R-devel mailing list