Error "object 'dep_dcat_identity_value_sizeMax' not found" in v1.4.0

6 views
Skip to first unread message

PierGianLuca

unread,
Dec 16, 2025, 3:45:50 AM (yesterday) Dec 16
to nimble-users, Daniel Turek, Chris Paciorek
Dear wonderful Nimble devs,

I updated to v1.4.0 from CRAN, and tested whether my proto-package "inferno" works with the new version. But I got this error:

> object 'dep_dcat_identity_value_sizeMax' not found

which seems to occur directly after this Note from Nimble:

> [Note] Reordering posterior_predictive samplers to execute last

So I suspect that's related to my calling `confnimble$setSamplerExecutionOrder`, here:

https://github.com/pglpm/inferno/blob/f661cdde167579de1e586afada16244c8fce43db/R/learn.R#L2679

I checked the Nimble NEWS, but can't find any relevant items, especially in "DEVELOPER LEVEL CHANGES".

While preparing a minimal working example, I thought I could start mentioning this, in case you already have a hint of what could be the cause.

Thank you for version 1.4.0! :)

Kind regards,
Luca

Daniel Turek

unread,
Dec 16, 2025, 8:22:20 AM (yesterday) Dec 16
to PierGianLuca, nimble-users, Chris Paciorek
Luca, thank you very much for this error report.  There were some updates made to the MCMC system of conjugacy processing in version 1.4.0, which are probably what's causing the problem.  I would not have suspected his has anything to do with the setSamplerExecutionOrder method, but clearly something is happening that we didn't foresee.  If you're please able to put together a reproducible example of the problem (something that worked fine for earlier versions of nimble, and now causes an error when using version 1.4.0), then we'll take a look and see what's happening.

Thanks,
Daniel

PierGianLuca

unread,
2:24 AM (19 hours ago) 2:24 AM
to Daniel Turek, nimble-users, Chris Paciorek
Dear Daniel,

Enclosed is a minimal script that works with Nimble 1.3.0 (with warnings about log-probabilities, but they're expected) but doesn't work with 1.4.0.

I suspect the problem may come from the indexing with `Nprob` or `Ni` or `Nf`.

Please note that the implementation you see in this minimal example may not make much sense, but it does make sense in the full package; see comments in line 37.

Thank you for looking into this!
Luca
nimbletest.R
Reply all
Reply to author
Forward
0 new messages