nimble-dev / nimble

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

getParam warnings for >2D may be confusing #1470

Closed perrydv closed 2 months ago

perrydv commented 3 months ago

If a model has an array parameter, nimbleModel issues a warning that getParam will not work for parameters with over 2 dimensions of indexing. This may be confusing to users for example of nimbleEcology distributions that have parameters that are 3D arrays. They will get this warning about a nimble programming feature that they may not and need not be aware of.

paciorek commented 2 months ago

This is happening checkBasics. I will turn off either the call to getParam or the output of the warning message.