Re: [Rd] R CMD Rd2pdf and macros

2017-10-05 Thread Kasper Daniel Hansen
If anyone else (besides Kurt, thanks) is following this, I want to note that this behaviour depends on whether you run R CMD Rd2pdf pkgname on the output of R CMD build, ie. if pkgname was made by untarring a source tarball or if it is on a "pure" development directory. The differences is the ex

Re: [Rd] R CMD Rd2pdf and macros

2017-10-04 Thread Kasper Daniel Hansen
No, I do not get the same as you. I have tested with R-devel and R-patched compiled today. When I do R CMD Rd2pdf mpra I get (as reported a few days ago) Hmm ... looks like a package Converting Rd files to LaTeX Error : mpra/man/mpra-package.Rd:6: file './DESCRIPTION' does not exist whereas

Re: [Rd] R CMD Rd2pdf and macros

2017-10-04 Thread Kurt Hornik
> Kasper Daniel Hansen writes: Interesting. When I take e.g. zTree as the last CRAN package using the \packageTitle macro, R CMD Rd2pdf zTree seems to work fine, but R CMD Rd2pdf zTree/man gives Converting Rd files to LaTeX Warning in parse_Rd("zTree/man/zTree-package.Rd", encodin

[Rd] R CMD Rd2pdf and macros

2017-10-03 Thread Kasper Daniel Hansen
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", e