[R] Example for Roxygen @eval tag?

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Mon Apr 22 07:29:16 CEST 2019

I have not used it... but did you read the vignette [1]? It sounds like it is a bit more meta than you think it is...

[1] https://cran.r-project.org/web/packages/roxygen2/vignettes/rd.html

On April 21, 2019 7:44:17 PM PDT, Boris Steipe <boris.steipe using utoronto.ca> wrote:
>Playing with Roxygen features, but can't get @eval to work. E.g. ...
>#' @eval sprintf("%s", Sys.time())
>... does not do what I thought it would (i.e. substitute the tag and
>the expression with the string). Instead I see nothing in the .RD file.
>Any working examples out there?
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

Sent from my phone. Please excuse my brevity.

More information about the R-help mailing list