pbs-assess / sdmTMB

:earth_americas: An R package for spatial and spatiotemporal GLMMs with TMB
https://pbs-assess.github.io/sdmTMB/
186 stars 26 forks source link

Push an update to CRAN to force binary rebuilds #287

Closed seananderson closed 8 months ago

seananderson commented 8 months ago

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 commented 8 months ago

This is now done.