Thanks Finn.
From the sessionInfo, it seems I have the latest version of Matrix. Please find the versions info and traceback below:
R version 4.1.2 (2021-11-01)
INLA_22.12.03
Matrix_1.5-3
traceback
top("*** Fail to get good enough initial values. Maybe it is due to something else.")
2: inla.core.safe(formula = formula, family = family, contrasts = contrasts,
data = data, quantiles = quantiles, E = E, offset = offset,
scale = scale, weights = weights, Ntrials = Ntrials, strata = strata,
lp.scale = lp.scale, link.covariates = link.covariates, verbose = verbose,
lincomb = lincomb, selection = selection, control.compute = control.compute,
control.predictor = control.predictor, control.family = control.family,
control.inla = control.inla, control.fixed = control.fixed,
control.mode = control.mode, control.expert = control.expert,
control.hazard = control.hazard, control.lincomb = control.lincomb,
control.update = control.update, control.lp.scale = control.lp.scale,
control.pardiso = control.pardiso, only.hyperparam = only.hyperparam,
inla.call = inla.call, inla.arg = inla.arg, num.threads = num.threads,
blas.num.threads = blas.num.threads, keep = keep, working.directory = working.directory,
silent = silent, inla.mode = inla.mode, safe = FALSE, debug = debug,
.parent.frame = .parent.frame)
1: inla(f1, family = "binomial", Ntrials = 1, control.family = list(link = "logit"),
control.compute = list(dic = TRUE, waic = TRUE), data = inla.stack.data(stk.dat1),
verbose = TRUE, control.inla = list(strategy = "adaptive",
int.strategy = "eb"), control.predictor = list(compute = TRUE,
link = 1, A = inla.stack.A(stk.dat1)))
Thank you