metrumresearchgroup / bbr.bayes

Bayesian modeling with BBR
https://metrumresearchgroup.github.io/bbr.bayes/
Other
5 stars 1 forks source link

nmbayes get_data_path: rename arg to match generic #138

Closed kyleam closed 8 months ago

kyleam commented 8 months ago

In bbr 1.10.0, the .mod argument of get_data_path() was renamed to .bbi_object. The argument in the get_data_path.bbi_nmbayes_model() method should have been renamed too for consistency.

This is flagged under newer versions of R:

checking S3 generic/method consistency ... WARNING
get_data_path:
  function(.bbi_object, .check_exists, ...)
get_data_path.bbi_nmbayes_model:
  function(.mod, ...)