'Why there is an error when running glmmTMB() in RStudio version 2022.02.0?

i am trying to run a Poisson GLMM model:

m <- glmmTMB(length ~ temp + site + temp:site, family = poisson, data = df)

but i get an error message:

Error in .Call("getParameterOrder", data, parameters, new.env(), PACKAGE = DLL) : Incorrect number of arguments (3), expecting 4 for 'getParameterOrder'

I reinstalled 'glmmTBM', restarted RStudio but the error retained. Incorporating more variables into the model doesn't help - the error message persists.

The RStudio version is 2022.02.0 and the R version is 4.1.0.

Can anyone help me please what i am doing wrong?

Thank you.



Solution 1:[1]

I had the exact same problem, and a simple update to R 4.2.0 did solve it.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 nouse