Displaying 3 results from an estimated 3 matches for "rd_package_author".
2017 Sep 27
1
possible bug in R CMD Rd2pdf
...gt;>
>> 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.
>>
>
> Those errors are coming from tools:::Rd_package_author and related
> functions, because the system-defined macros call them. Current definition
> of the \packageAuthor macro is
>
> \newcommand{\packageAuthor}{\Sexpr[results=rd,stage=build]{t
> ools:::Rd_package_author("#1")}}
>
> and the function is defined as
>
>...
2017 Sep 27
3
possible bug in R CMD Rd2pdf
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.
2017 Sep 27
0
possible bug in R CMD Rd2pdf
...le-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.
Those errors are coming from tools:::Rd_package_author and related
functions, because the system-defined macros call them. Current
definition of the \packageAuthor macro is
\newcommand{\packageAuthor}{\Sexpr[results=rd,stage=build]{tools:::Rd_package_author("#1")}}
and the function is defined as
function (pkg, dir = ".")
{...