[R] Example for Roxygen @eval tag?

Boris Steipe bor|@@@te|pe @end|ng |rom utoronto@c@
Mon Apr 22 04:44:17 CEST 2019


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?
Thanks!
Boris



More information about the R-help mailing list