[R] Rdversion ???

Bill Dunlap w||||@mwdun|@p @end|ng |rom gm@||@com
Wed Sep 29 01:02:55 CEST 2021


tools:::prepare2_Rd contains the lines
    ## FIXME: we no longer make any use of \Rdversion
    version <- which(sections == "\\Rdversion")
    if (length(version) > 1L)
        stopRd(Rd[[version[2L]]], Rdfile,
               "Only one \\Rdversion declaration is allowed")
so I am guessing you can ignore any \Rdversion declarations.

-Bill


On Tue, Sep 28, 2021 at 2:57 PM Rolf Turner <r.turner using auckland.ac.nz> wrote:

>
> I just noticed that a help file in one of my packages contains,
> as the second line (just after the \name{ }  macro), the line
>
> > \Rdversion{1.1}
>
> I have no idea how it got there.  I can find no reference to this
> macro in WRE, but by doing some groping, err, grepping around I have
> discovered its presence in a number of help files for other packages.
>
> Can anyone explain to me what it's for, and what its provenance is?
>
> Is it important?
>
> Thanks for any enlightenment.
>
> cheers,
>
> Rolf Turner
>
> --
> Honorary Research Fellow
> Department of Statistics
> University of Auckland
> Phone: +64-9-373-7599 ext. 88276
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list