inlabru-org / inlabru

inlabru
https://inlabru-org.github.io/inlabru/
90 stars 21 forks source link

Example in `generate` function is duplicated #231

Closed PPaccioretti closed 6 months ago

PPaccioretti commented 7 months ago

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.

finnlindgren commented 7 months ago

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