Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push an update to CRAN to force binary rebuilds #287

Closed
seananderson opened this issue Jan 10, 2024 · 1 comment
Closed

Push an update to CRAN to force binary rebuilds #287

seananderson opened this issue Jan 10, 2024 · 1 comment

Comments

@seananderson
Copy link
Member

seananderson commented Jan 10, 2024

The version of Matrix used to build the binaries on CRAN is old and there was a breaking change. Models with random effects return NA from the likelihood function.

In the meantime, the solution is to install Matrix, TMB, and then sdmTMB in that order making sure that TMB and sdmTMB are both installed with type = "source":

install.packages("Matrix")
install.packages("TMB", type = "source")
install.packages("sdmTMB", type = "source")

It's been like this for a while, but we should probably fix this quickly and maybe put a note in the readme in the meantime.

I believe this affects glmmTMB and any packages on CRAN using TMB because CRAN has no mechanism to force binary rebuilds other than a package update.

@seananderson
Copy link
Member Author

This is now done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant