Issue with inla.group.cv

66 views
Skip to first unread message

Dominique Soudant

unread,
May 19, 2026, 9:26:13 AMMay 19
to R-inla discussion group
Hello,

Before May 19, 2026, the following code

LeaveGroupOut <- inla.group.cv(Smoothing, num.level.sets = 3)

did not generate any errors. I then installed R 4.6 and, as a result, reinstalled R-INLA, and now I get the following message:

        GitId: "devel"
        Error:21 Reason: This should not happen
        Message: Condition `0 == 1' is not TRUE
        Line:7992 Function: loglikelihood_generic_surv



        GitId: "devel"
        Error:21 Reason: This should not happen
        Message: Condition `0 == 1' is not TRUE
        Line:7992 Function: loglikelihood_generic_surv

Aborted

 *** inla.core.safe:  The inla program failed, but will rerun in case better initial values may help. try=1/1

 *** inla.core.safe:  rerun with improved initial values


        GitId: "devel"
        Error:21 Reason: This should not happen
        Message: Condition `0 == 1' is not TRUE
        Line:7992 Function: loglikelihood_generic_surv

Aborted
Erreur dans inla.inlaprogram.has.crashed() :
  The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully.
  If this does not help, please contact the developers at <he...@r-inla.org>.
De plus : Message d'avis :
Dans inla.mode.section(file = file.ini, cont.mode, data.dir) :
   *** control.mode *** option 'restart=TRUE' is set to 'FALSE' since 'fixed=TRUE'

The Lissage object is available here : 
Thank in advance for your help.
Regards
DS

Dominique Soudant

unread,
May 19, 2026, 9:28:02 AMMay 19
to R-inla discussion group
Smoothing = Lissage

Håvard Rue

unread,
May 19, 2026, 10:24:28 AMMay 19
to Dominique Soudant, R-inla discussion group


we are not on R-4.6 yet...

do you have the code/data that generate this? its a weird error that kind of
indicate that 4.6 behaves different from 4.5

what OS are you on? I presume you're on the latest testing version, otherwise
please upgrade
> --
> You received this message because you are subscribed to the Google Groups "R-
> inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to r-inla-discussion...@googlegroups.com.
> To view this discussion, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/3d6768c1-a453-46b3-9a97-4094367bd576n%40googlegroups.com
> .

--
Håvard Rue
hr...@r-inla.org

Dominique Soudant

unread,
May 19, 2026, 10:40:51 AMMay 19
to R-inla discussion group
The code is only LeaveGroupOut <- inla.group.cv(Lissage, num.level.sets = 3)
and I gave a link to download Lissage

I'm on Ubuntu 24.04 with a tower and ubuntu 22.04 with a laptop. 

For both : 
R --vanilla

R version 4.6.0 (2026-04-24) -- "Because it was There"
Copyright (C) 2026 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu

R est un logiciel libre livré sans AUCUNE GARANTIE.
Vous pouvez le redistribuer sous certaines conditions.
Tapez 'license()' ou 'licence()' pour plus de détails.

R est un projet collaboratif avec de nombreux contributeurs.
Tapez 'contributors()' pour plus d'information et
'citation()' pour la façon de le citer dans les publications.

Tapez 'demo()' pour des démonstrations, 'help()' pour l'aide
en ligne ou 'help.start()' pour obtenir l'aide au format HTML.
Tapez 'q()' pour quitter R.

> require(INLA)
Le chargement a nécessité le package : INLA
Le chargement a nécessité le package : Matrix
This is INLA_26.05.10 built 2026-05-12 04:18:58 UTC.
 - See www.r-inla.org/contact-us for how to get help.
 - List available models/likelihoods/etc with inla.list.models()
 - Use inla.doc(<NAME>) to access documentation


Helpdesk (Haavard Rue)

unread,
May 19, 2026, 11:43:44 AMMay 19
to Dominique Soudant, R-inla discussion group
thx; found it. my bad. this was a new internal feature computing PIT for cv, but
forgot to check if the PIT is computable for that likelihood... the cencored
log-normal (or survival likelihood) is not, due to the cencoring

I'll make a new version asap
he...@r-inla.org

Dominique Soudant

unread,
May 19, 2026, 11:53:13 AMMay 19
to R-inla discussion group
Thank you very much for your responsiveness and all of your work. 
Reply all
Reply to author
Forward
0 new messages