Reputation: 334
Example inheritance is a feature introduced in Roxygen2 v6.1.0 (See https://github.com/r-lib/roxygen2/issues/588).
But I don't find the syntax that should be use to inherit @examples
tag from another function. I tried the following:
@inheritExamples FunctionName
which leads to an "unknown tag" error@inherit FunctionName return examples
as explained here for details
tag but it seems to have no effectDoes anyone know the correct syntax to use to inherit such tag?
Upvotes: 0
Views: 400
Reputation: 334
Oups! My bad. It seems that the second answer is the good one. I had refreshment issue in my documentation generation.
Upvotes: 1