inlabru-org/inlabru

Example in `generate` function is duplicated

Closed this issue · 1 comments

The example for the generate function is duplicated in the bru.inference.R file. It appears twice, once on on line 16 and again on line on line 2174.
AFAIK, the reason that the examples are duplicated is that roxygen merges them when you use #' @rdname generate in line 2175, so deleting one should be enough to fix this issue.

Thanks! They were probably documented separately at some point and this wasn’t noticed when they were merged.