[R-pkg-devel] How to resolve help files with \Sexpr{} warning?
Ivan Krylov
|kry|ov @end|ng |rom d|@root@org
Mon Apr 14 15:58:45 CEST 2025
В Sun, 13 Apr 2025 21:54:03 -0700 (PDT)
adinno using pdx.edu пишет:
> Package has help file(s) containing install/render-stage \Sexpr{}
> expressions but no prebuilt PDF manual.
This is a relatively recent change (r85348, October 2023). Previously,
R CMD build detected non-build-time dynamic content in the package
documentation and built the manual automatically. Nowadays I think you
have to set BuildManual: yes in your DESCRIPTION before building the
package. (There's R CMD build --no-manual, but I'm not seeing a command
line option to override it from "no" to "yes".)
> (Aside: I am using mathjaxr... not sure if that is the issue.)
Correct, that must be what's producing the render-stage dynamic content:
https://github.com/wviechtb/mathjaxr/blob/8900cbbb2eda4dc45b776cc203c2942b6289fac3/man/macros/mathjax.Rd#L4
--
Best regards,
Ivan
More information about the R-package-devel
mailing list