-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Description
It'd be nice if we could have something like @evalRd, but @evalRoxygen, which takes the output of some R function and treats it as though it were part of the current Roxygen block. For example, suppose you were documenting the same function multiple times, but it took different default arguments in different functions. It'd be nice to be able to write:
## function a
#' @eval roxygen_parameter(default = "foo")
## function b
#' @eval roxygen_parameter(default = "bar")
In this case, roxygen_parameter() is some function defined by the user in the package's namespace, and the output of that function is used to generate the documentation.
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement