[R-pkg-devel] Fwd: Load data inside .Rd documentation file inside the item-field?
Ivan Krylov
kry|ov@r00t @end|ng |rom gm@||@com
Tue May 3 14:58:21 CEST 2022
On Tue, 3 May 2022 06:08:01 -0400
Duncan Murdoch <murdoch.duncan using gmail.com> wrote:
> You can also run the code when you build the tarball, using
>
> \Sexpr[stage=build]{formals(pkg::fn)[["max"]]}
>
> in which case it will use whatever version of pkg happens to be
> installed on your system at the time of the build, not necessarily
> the one you are building.
Shouldn't [stage=build] still correspond to the current
version of the package being built, thanks to the extra step of
"* installing the package to process help pages"?
--
Best regards,
Ivan
More information about the R-package-devel
mailing list