[R-pkg-devel] Fwd: Load data inside .Rd documentation file inside the item-field?

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Tue May 3 15:45:51 CEST 2022


On 03/05/2022 8:58 a.m., Ivan Krylov wrote:
> 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"?
> 

Yes, you're right.  Sorry for the misinformation.

Duncan Murdoch



More information about the R-package-devel mailing list