nimble-dev / nimble

The base NIMBLE package for R
http://R-nimble.org
BSD 3-Clause "New" or "Revised" License
160 stars 24 forks source link

Update `model_macro_builder` docs #1448

Closed kenkellner closed 6 months ago

kenkellner commented 6 months ago

Describes the modelInfo and .env arguments to fun in more detail and warns about a new constant being lost if nimble moves it to data. Also adds a new example of a macro that modifies the constants.

perrydv commented 6 months ago

These look good to me. There is a paragraph without line breaks as the others have before "#'". It might be just how it shows on my editor (emacs). At some point when we turn this feature more clearly towards users we may want to update the documentation and also get some into the User Manual. But for now these are good changes to stay up to date and complete. Thanks @kenkellner

kenkellner commented 6 months ago

Roxygen issues should be fixed now.