Closed Andrea-Havron closed 11 months ago
Can INLA::spde be updated to fmesher::fm_fem(mesh, order = 2, ...)? If so, it might be possible to switch dependency from INLA to fmesher.
spde <- fmesher::fm_fem(mesh, order = 2)
M0 <- spde$c0
M1 <- spde$g1
M2 <- spde$g2
with
spde <- INLA::inla.spde2.matern(mesh)
M0 <- spde$param.inla$M0
M1 <- spde$param.inla$M1
M2 <- spde$param.inla$M2
INLA dependent functions:
https://inlabru-org.github.io/fmesher/articles/inla_conversion.html
also refactor all GHA to remove INLA install dependency. Can I just update GHA back to using nmfs-fish-tools/ghactions4r?
update using fmesher::fm_mesh_2d_inla()