Access method for bru_log objects.
Note: Up to version 2.8.0, bru_log() was a deprecated alias for
bru_log_message(). When running on 2.8.0 or earlier, use bru_log_get()
to access the global log, and cat(fit$bru_iinla$log, sep = "\n") to print a
stored estimation object log.
After version 2.8.0, use bru_log() to access the global log, and
bru_log(fit) to access a stored estimation log.
Usage
bru_log(x = NULL, verbosity = NULL)
# S3 method for class 'character'
bru_log(x, verbosity = NULL)
# S3 method for class 'bru_log'
bru_log(x, verbosity = NULL)
# S3 method for class 'iinla'
bru_log(x, verbosity = NULL)
# S3 method for class 'bru'
bru_log(x, verbosity = NULL)
# S3 method for class 'bru_log'
format(x, ..., timestamp = TRUE, verbosity = FALSE)
# S3 method for class 'bru_log'
print(x, ..., timestamp = TRUE, verbosity = FALSE)
# S3 method for class 'bru_log'
as.character(x, ...)
# S3 method for class 'bru_log'
x[i]
# S3 method for class 'bru_log'
c(...)
# S3 method for class 'bru_log'
length(x)Arguments
- x
An object that is, contains, or can be converted to, a
bru_logobject. IfNULL, refers to the globalinlabrulog.- verbosity
integer value for limiting the highest verbosity level being returned.
- ...
further arguments passed to or from other methods.
- timestamp
If
TRUE, include the timestamp of each message. DefaultTRUE.- i
indices specifying elements to extract. If
character, denotes the sequence between bookmarkiand the next bookmark (or the end of the log ifiis the last bookmark)
Value
bru_log A bru_log object, containing a
character vector of log messages, and potentially a vector of bookmarks.
Methods (by generic)
format(bru_log): Format abru_logobject for printing. IfverbosityisTRUE, include the verbosity level of each message.print(bru_log): Print abru_logobject withcat(x, sep = "\n"). IfverbosityisTRUE, include the verbosity level of each message.as.character(bru_log): Convertbru_logobject to a plaincharactervector[: Extract a subset of abru_logobjectc(bru_log): Concatenate severalbru_logorcharacterobjects into abru_logobject.length(bru_log): Obtain the number of log entries into abru_logobject.
Functions
bru_log(): Extract stored log messages. If non-NULL, theverbosityargument determines the maximum verbosity level of the messages to extract.
See also
Other inlabru log methods:
bru_log_bookmark(),
bru_log_message(),
bru_log_new(),
bru_log_offset(),
bru_log_reset()
Examples
bru_log(verbosity = 2L)
#> 2025-12-19 10:01:19.070842: inlabru loaded
#> 2025-12-19 10:01:19.071356: Clear override options
#> 2025-12-19 10:01:30.745048: bru: Preprocessing
#> 2025-12-19 10:01:30.864618: iinla: Iteration 1 [max: 1]
#> 2025-12-19 10:01:31.667462: bru: Preprocessing
#> 2025-12-19 10:01:31.751267: iinla: Iteration 1 [max: 1]
#> 2025-12-19 10:01:32.121482: bru: Preprocessing
#> 2025-12-19 10:01:32.2289: iinla: Iteration 1 [max: 10]
#> 2025-12-19 10:01:32.565341: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-12-19 10:01:32.595022: iinla: Iteration 2 [max: 10]
#> 2025-12-19 10:01:33.18741: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-12-19 10:01:33.21503: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-19 10:01:33.217481: iinla: Iteration 3 [max: 10]
#> 2025-12-19 10:01:33.532691: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-12-19 10:01:33.561236: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-19 10:01:33.563817: iinla: Iteration 4 [max: 10]
#> 2025-12-19 10:01:33.907701: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-12-19 10:01:33.908951: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-12-19 10:01:33.91143: iinla: Iteration 5 [max: 10]
#> 2025-12-19 10:01:35.094065: bru: Preprocessing
#> 2025-12-19 10:01:35.160406: iinla: Iteration 1 [max: 1]
#> 2025-12-19 10:01:40.393271: bru: Preprocessing
#> 2025-12-19 10:01:40.487971: iinla: Iteration 1 [max: 1]
format(bru_log())
#> 2025-12-19 10:01:19.070842: inlabru loaded
#> 2025-12-19 10:01:19.071356: Clear override options
#> 2025-12-19 10:01:30.745048: bru: Preprocessing
#> 2025-12-19 10:01:30.760748: Evaluate component inputs for each observation model
#> 2025-12-19 10:01:30.762205: bru_input(bru_comp_list)
#> 2025-12-19 10:01:30.76367: bru_input.bru_comp(x)
#> 2025-12-19 10:01:30.765196: bru_input.bm_pipe(x)
#> 2025-12-19 10:01:30.766805: bru_input.bm_multi(x:mapper)
#> 2025-12-19 10:01:30.768382: bru_input.bru_mapper(x:mapper:main)
#> 2025-12-19 10:01:30.770071: bru_input(bru_input) for (x)
#> 2025-12-19 10:01:30.777783: bru_input.bru_comp(Intercept)
#> 2025-12-19 10:01:30.779211: bru_input.bm_pipe(Intercept)
#> 2025-12-19 10:01:30.780774: bru_input.bm_multi(Intercept:mapper)
#> 2025-12-19 10:01:30.782309: bru_input.bru_mapper(Intercept:mapper:main)
#> 2025-12-19 10:01:30.783689: bru_input(bru_input) for (Intercept)
#> 2025-12-19 10:01:30.799435: iinla: Start
#> 2025-12-19 10:01:30.800717: iinla: Evaluate component linearisations
#> 2025-12-19 10:01:30.802118: Linearise components for each observation model
#> 2025-12-19 10:01:30.803721: Linearise component 'x'
#> 2025-12-19 10:01:30.80667: Linearise component 'Intercept'
#> 2025-12-19 10:01:30.809496: iinla: Evaluate component simplifications
#> 2025-12-19 10:01:30.810788: Simplify component mappers for each observation model
#> 2025-12-19 10:01:30.812307: Simplify component 'x'
#> 2025-12-19 10:01:30.815432: Simplify component 'Intercept'
#> 2025-12-19 10:01:30.8185: iinla: Evaluate predictor linearisation
#> 2025-12-19 10:01:30.832053: iinla: Construct inla stack
#> 2025-12-19 10:01:30.86243: iinla: Model initialisation completed
#> 2025-12-19 10:01:30.864618: iinla: Iteration 1 [max: 1]
#> 2025-12-19 10:01:31.641963: iinla: Computation completed
#> 2025-12-19 10:01:31.667462: bru: Preprocessing
#> 2025-12-19 10:01:31.676336: Evaluate component inputs for each observation model
#> 2025-12-19 10:01:31.67763: bru_input(bru_comp_list)
#> 2025-12-19 10:01:31.679052: bru_input.bru_comp(x)
#> 2025-12-19 10:01:31.680478: bru_input.bm_pipe(x)
#> 2025-12-19 10:01:31.682029: bru_input.bm_multi(x:mapper)
#> 2025-12-19 10:01:31.68353: bru_input.bru_mapper(x:mapper:main)
#> 2025-12-19 10:01:31.684875: bru_input(bru_input) for (x)
#> 2025-12-19 10:01:31.691846: bru_input.bru_comp(Intercept)
#> 2025-12-19 10:01:31.693269: bru_input.bm_pipe(Intercept)
#> 2025-12-19 10:01:31.694836: bru_input.bm_multi(Intercept:mapper)
#> 2025-12-19 10:01:31.696362: bru_input.bru_mapper(Intercept:mapper:main)
#> 2025-12-19 10:01:31.697778: bru_input(bru_input) for (Intercept)
#> 2025-12-19 10:01:31.710476: iinla: Start
#> 2025-12-19 10:01:31.71167: iinla: Evaluate component linearisations
#> 2025-12-19 10:01:31.712884: Linearise components for each observation model
#> 2025-12-19 10:01:31.71429: Linearise component 'x'
#> 2025-12-19 10:01:31.717329: Linearise component 'Intercept'
#> 2025-12-19 10:01:31.720191: iinla: Evaluate component simplifications
#> 2025-12-19 10:01:31.721476: Simplify component mappers for each observation model
#> 2025-12-19 10:01:31.722898: Simplify component 'x'
#> 2025-12-19 10:01:31.725964: Simplify component 'Intercept'
#> 2025-12-19 10:01:31.728977: iinla: Evaluate predictor linearisation
#> 2025-12-19 10:01:31.735499: iinla: Construct inla stack
#> 2025-12-19 10:01:31.749363: iinla: Model initialisation completed
#> 2025-12-19 10:01:31.751267: iinla: Iteration 1 [max: 1]
#> 2025-12-19 10:01:32.091573: iinla: Computation completed
#> 2025-12-19 10:01:32.121482: bru: Preprocessing
#> 2025-12-19 10:01:32.132335: Evaluate component inputs for each observation model
#> 2025-12-19 10:01:32.134029: bru_input(bru_comp_list)
#> 2025-12-19 10:01:32.13589: bru_input.bru_comp(z)
#> 2025-12-19 10:01:32.137735: bru_input.bm_pipe(z)
#> 2025-12-19 10:01:32.139748: bru_input.bm_multi(z:mapper)
#> 2025-12-19 10:01:32.141759: bru_input.bru_mapper(z:mapper:main)
#> 2025-12-19 10:01:32.143571: bru_input(bru_input) for (z)
#> 2025-12-19 10:01:32.151462: bru_input.bru_comp(Intercept)
#> 2025-12-19 10:01:32.153338: bru_input.bm_pipe(Intercept)
#> 2025-12-19 10:01:32.155384: bru_input.bm_multi(Intercept:mapper)
#> 2025-12-19 10:01:32.157395: bru_input.bru_mapper(Intercept:mapper:main)
#> 2025-12-19 10:01:32.159216: bru_input(bru_input) for (Intercept)
#> 2025-12-19 10:01:32.174082: iinla: Start
#> 2025-12-19 10:01:32.175719: iinla: Evaluate component linearisations
#> 2025-12-19 10:01:32.177342: Linearise components for each observation model
#> 2025-12-19 10:01:32.17919: Linearise component 'z'
#> 2025-12-19 10:01:32.182793: Linearise component 'Intercept'
#> 2025-12-19 10:01:32.18619: iinla: Evaluate component simplifications
#> 2025-12-19 10:01:32.187812: Simplify component mappers for each observation model
#> 2025-12-19 10:01:32.189673: Simplify component 'z'
#> 2025-12-19 10:01:32.193365: Simplify component 'Intercept'
#> 2025-12-19 10:01:32.197029: iinla: Evaluate predictor linearisation
#> 2025-12-19 10:01:32.200796: Linearise with respect to component 'z'
#> 2025-12-19 10:01:32.207386: Linearise with respect to component 'Intercept'
#> 2025-12-19 10:01:32.211665: iinla: Construct inla stack
#> 2025-12-19 10:01:32.227005: iinla: Model initialisation completed
#> 2025-12-19 10:01:32.2289: iinla: Iteration 1 [max: 10]
#> 2025-12-19 10:01:32.555784: iinla: Step rescaling: 61.8%, Contract (norm0 = 2691, norm1 = 2464, norm01 = 494.2)
#> 2025-12-19 10:01:32.558683: iinla: Step rescaling: 38.2%, Contract (norm0 = 552.8, norm1 = 411.6, norm01 = 494.2)
#> 2025-12-19 10:01:32.562283: iinla: Step rescaling: 27.71%, Approx Optimisation (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-12-19 10:01:32.563818: iinla: |lin1-lin0| = 494.2
#> <eta-lin1,delta>/|delta| = -281.1
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 154.1
#> 2025-12-19 10:01:32.565341: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-12-19 10:01:32.567176: iinla: Evaluate component linearisations
#> 2025-12-19 10:01:32.568395: Linearise components for each observation model
#> 2025-12-19 10:01:32.56983: Linearise component 'z'
#> 2025-12-19 10:01:32.572743: Linearise component 'Intercept'
#> 2025-12-19 10:01:32.57557: iinla: Evaluate predictor linearisation
#> 2025-12-19 10:01:32.578156: Linearise with respect to component 'z'
#> 2025-12-19 10:01:32.581847: Linearise with respect to component 'Intercept'
#> 2025-12-19 10:01:32.595022: iinla: Iteration 2 [max: 10]
#> 2025-12-19 10:01:33.177823: iinla: Step rescaling: 162%, Expand (norm0 = 518.3, norm1 = 200.1, norm01 = 320.5)
#> 2025-12-19 10:01:33.180882: iinla: Step rescaling: 100%, Overstep (norm0 = 320.2, norm1 = 13.76, norm01 = 320.5)
#> 2025-12-19 10:01:33.184502: iinla: Step rescaling: 99.81%, Approx Optimisation (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-12-19 10:01:33.185967: iinla: |lin1-lin0| = 320.5
#> <eta-lin1,delta>/|delta| = -1.177
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.69
#> 2025-12-19 10:01:33.18741: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-12-19 10:01:33.189166: iinla: Evaluate component linearisations
#> 2025-12-19 10:01:33.190333: Linearise components for each observation model
#> 2025-12-19 10:01:33.191677: Linearise component 'z'
#> 2025-12-19 10:01:33.19456: Linearise component 'Intercept'
#> 2025-12-19 10:01:33.197303: iinla: Evaluate predictor linearisation
#> 2025-12-19 10:01:33.199842: Linearise with respect to component 'z'
#> 2025-12-19 10:01:33.203326: Linearise with respect to component 'Intercept'
#> 2025-12-19 10:01:33.21503: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-19 10:01:33.217481: iinla: Iteration 3 [max: 10]
#> 2025-12-19 10:01:33.522625: iinla: Step rescaling: 162%, Expand (norm0 = 21.7, norm1 = 7.954, norm01 = 13.75)
#> 2025-12-19 10:01:33.525919: iinla: Step rescaling: 100%, Overstep (norm0 = 13.54, norm1 = 0.2086, norm01 = 13.75)
#> 2025-12-19 10:01:33.529606: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-12-19 10:01:33.531196: iinla: |lin1-lin0| = 13.75
#> <eta-lin1,delta>/|delta| = 7.795e-07
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.009295
#> 2025-12-19 10:01:33.532691: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-12-19 10:01:33.534478: iinla: Evaluate component linearisations
#> 2025-12-19 10:01:33.535714: Linearise components for each observation model
#> 2025-12-19 10:01:33.537133: Linearise component 'z'
#> 2025-12-19 10:01:33.540094: Linearise component 'Intercept'
#> 2025-12-19 10:01:33.542972: iinla: Evaluate predictor linearisation
#> 2025-12-19 10:01:33.545597: Linearise with respect to component 'z'
#> 2025-12-19 10:01:33.549168: Linearise with respect to component 'Intercept'
#> 2025-12-19 10:01:33.561236: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-19 10:01:33.563817: iinla: Iteration 4 [max: 10]
#> 2025-12-19 10:01:33.8712: iinla: Step rescaling: 162%, Expand (norm0 = 0.01503, norm1 = 0.005741, norm01 = 0.00929)
#> 2025-12-19 10:01:33.874148: iinla: Step rescaling: 100%, Overstep (norm0 = 0.00929, norm1 = 3.115e-08, norm01 = 0.00929)
#> 2025-12-19 10:01:33.877802: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.00929, norm1 = 3.112e-08, norm01 = 0.00929)
#> 2025-12-19 10:01:33.879357: iinla: |lin1-lin0| = 0.00929
#> <eta-lin1,delta>/|delta| = 2.84e-11
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 3.112e-08
#> 2025-12-19 10:01:33.88115: iinla: Evaluate component linearisations
#> 2025-12-19 10:01:33.882363: Linearise components for each observation model
#> 2025-12-19 10:01:33.88377: Linearise component 'z'
#> 2025-12-19 10:01:33.886634: Linearise component 'Intercept'
#> 2025-12-19 10:01:33.88945: iinla: Evaluate predictor linearisation
#> 2025-12-19 10:01:33.892115: Linearise with respect to component 'z'
#> 2025-12-19 10:01:33.895725: Linearise with respect to component 'Intercept'
#> 2025-12-19 10:01:33.907701: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-12-19 10:01:33.908951: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-12-19 10:01:33.91143: iinla: Iteration 5 [max: 10]
#> 2025-12-19 10:01:34.22793: iinla: Computation completed
#> 2025-12-19 10:01:35.094065: bru: Preprocessing
#> 2025-12-19 10:01:35.103725: Evaluate component inputs for each observation model
#> 2025-12-19 10:01:35.105038: bru_input(bru_comp_list)
#> 2025-12-19 10:01:35.106422: bru_input.bru_comp(field)
#> 2025-12-19 10:01:35.107769: bru_input.bm_pipe(field)
#> 2025-12-19 10:01:35.109262: bru_input.bm_multi(field:mapper)
#> 2025-12-19 10:01:35.110738: bru_input.bru_mapper(field:mapper:main)
#> 2025-12-19 10:01:35.112091: bru_input(bru_input) for (field)
#> 2025-12-19 10:01:35.124726: iinla: Start
#> 2025-12-19 10:01:35.125961: iinla: Evaluate component linearisations
#> 2025-12-19 10:01:35.127194: Linearise components for each observation model
#> 2025-12-19 10:01:35.128551: Linearise component 'field'
#> 2025-12-19 10:01:35.136157: iinla: Evaluate component simplifications
#> 2025-12-19 10:01:35.137439: Simplify component mappers for each observation model
#> 2025-12-19 10:01:35.13886: Simplify component 'field'
#> 2025-12-19 10:01:35.145047: iinla: Evaluate predictor linearisation
#> 2025-12-19 10:01:35.14848: iinla: Construct inla stack
#> 2025-12-19 10:01:35.158969: iinla: Model initialisation completed
#> 2025-12-19 10:01:35.160406: iinla: Iteration 1 [max: 1]
#> 2025-12-19 10:01:35.59074: iinla: Computation completed
#> 2025-12-19 10:01:37.484929: bru_input(bru_comp_list)
#> 2025-12-19 10:01:40.393271: bru: Preprocessing
#> 2025-12-19 10:01:40.406645: Evaluate component inputs for each observation model
#> 2025-12-19 10:01:40.407964: bru_input(bru_comp_list)
#> 2025-12-19 10:01:40.409419: bru_input.bru_comp(x)
#> 2025-12-19 10:01:40.41082: bru_input.bm_pipe(x)
#> 2025-12-19 10:01:40.412426: bru_input.bm_multi(x:mapper)
#> 2025-12-19 10:01:40.413912: bru_input.bru_mapper(x:mapper:main)
#> 2025-12-19 10:01:40.415246: bru_input(bru_input) for (x)
#> 2025-12-19 10:01:40.423534: bru_input(bru_comp_list)
#> 2025-12-19 10:01:40.42502: bru_input.bru_comp(x)
#> 2025-12-19 10:01:40.426368: bru_input.bm_pipe(x)
#> 2025-12-19 10:01:40.427854: bru_input.bm_multi(x:mapper)
#> 2025-12-19 10:01:40.429371: bru_input.bru_mapper(x:mapper:main)
#> 2025-12-19 10:01:40.430686: bru_input(bru_input) for (x)
#> 2025-12-19 10:01:40.44638: iinla: Start
#> 2025-12-19 10:01:40.447607: iinla: Evaluate component linearisations
#> 2025-12-19 10:01:40.448771: Linearise components for each observation model
#> 2025-12-19 10:01:40.450202: Linearise component 'x'
#> 2025-12-19 10:01:40.453562: Linearise component 'x'
#> 2025-12-19 10:01:40.456506: iinla: Evaluate component simplifications
#> 2025-12-19 10:01:40.457723: Simplify component mappers for each observation model
#> 2025-12-19 10:01:40.45912: Simplify component 'x'
#> 2025-12-19 10:01:40.462708: Simplify component 'x'
#> 2025-12-19 10:01:40.466071: iinla: Evaluate predictor linearisation
#> 2025-12-19 10:01:40.47201: iinla: Construct inla stack
#> 2025-12-19 10:01:40.486408: iinla: Model initialisation completed
#> 2025-12-19 10:01:40.487971: iinla: Iteration 1 [max: 1]
#> 2025-12-19 10:01:40.84693: iinla: Computation completed
#> 2025-12-19 10:01:45.044379: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2025-12-19 10:01:19.070842: inlabru loaded
#> 2025-12-19 10:01:19.071356: Clear override options
#> 2025-12-19 10:01:30.745048: bru: Preprocessing
#> 2025-12-19 10:01:30.864618: iinla: Iteration 1 [max: 1]
#> 2025-12-19 10:01:31.667462: bru: Preprocessing
#> 2025-12-19 10:01:31.751267: iinla: Iteration 1 [max: 1]
#> 2025-12-19 10:01:32.121482: bru: Preprocessing
#> 2025-12-19 10:01:32.2289: iinla: Iteration 1 [max: 10]
#> 2025-12-19 10:01:32.565341: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-12-19 10:01:32.595022: iinla: Iteration 2 [max: 10]
#> 2025-12-19 10:01:33.18741: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-12-19 10:01:33.21503: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-19 10:01:33.217481: iinla: Iteration 3 [max: 10]
#> 2025-12-19 10:01:33.532691: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-12-19 10:01:33.561236: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-19 10:01:33.563817: iinla: Iteration 4 [max: 10]
#> 2025-12-19 10:01:33.907701: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-12-19 10:01:33.908951: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-12-19 10:01:33.91143: iinla: Iteration 5 [max: 10]
#> 2025-12-19 10:01:35.094065: bru: Preprocessing
#> 2025-12-19 10:01:35.160406: iinla: Iteration 1 [max: 1]
#> 2025-12-19 10:01:40.393271: bru: Preprocessing
#> 2025-12-19 10:01:40.487971: iinla: Iteration 1 [max: 1]
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2025-12-19 10:01:19.070842: inlabru loaded (level 1)
#> 2025-12-19 10:01:19.071356: Clear override options (level 1)
#> 2025-12-19 10:01:30.745048: bru: Preprocessing (level 1)
#> 2025-12-19 10:01:30.760748: Evaluate component inputs for each observation model (level 3)
#> 2025-12-19 10:01:30.762205: bru_input(bru_comp_list) (level 4)
#> 2025-12-19 10:01:30.76367: bru_input.bru_comp(x) (level 4)
#> 2025-12-19 10:01:30.765196: bru_input.bm_pipe(x) (level 5)
#> 2025-12-19 10:01:30.766805: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-12-19 10:01:30.768382: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-12-19 10:01:30.770071: bru_input(bru_input) for (x) (level 5)
#> 2025-12-19 10:01:30.777783: bru_input.bru_comp(Intercept) (level 4)
#> 2025-12-19 10:01:30.779211: bru_input.bm_pipe(Intercept) (level 5)
#> 2025-12-19 10:01:30.780774: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2025-12-19 10:01:30.782309: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2025-12-19 10:01:30.783689: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-12-19 10:01:30.799435: iinla: Start (level 3)
#> 2025-12-19 10:01:30.800717: iinla: Evaluate component linearisations (level 3)
#> 2025-12-19 10:01:30.802118: Linearise components for each observation model (level 3)
#> 2025-12-19 10:01:30.803721: Linearise component 'x' (level 4)
#> 2025-12-19 10:01:30.80667: Linearise component 'Intercept' (level 4)
#> 2025-12-19 10:01:30.809496: iinla: Evaluate component simplifications (level 3)
#> 2025-12-19 10:01:30.810788: Simplify component mappers for each observation model (level 3)
#> 2025-12-19 10:01:30.812307: Simplify component 'x' (level 4)
#> 2025-12-19 10:01:30.815432: Simplify component 'Intercept' (level 4)
#> 2025-12-19 10:01:30.8185: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-19 10:01:30.832053: iinla: Construct inla stack (level 3)
#> 2025-12-19 10:01:30.86243: iinla: Model initialisation completed (level 3)
#> 2025-12-19 10:01:30.864618: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-12-19 10:01:31.641963: iinla: Computation completed (level 3)
#> 2025-12-19 10:01:31.667462: bru: Preprocessing (level 1)
#> 2025-12-19 10:01:31.676336: Evaluate component inputs for each observation model (level 3)
#> 2025-12-19 10:01:31.67763: bru_input(bru_comp_list) (level 4)
#> 2025-12-19 10:01:31.679052: bru_input.bru_comp(x) (level 4)
#> 2025-12-19 10:01:31.680478: bru_input.bm_pipe(x) (level 5)
#> 2025-12-19 10:01:31.682029: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-12-19 10:01:31.68353: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-12-19 10:01:31.684875: bru_input(bru_input) for (x) (level 5)
#> 2025-12-19 10:01:31.691846: bru_input.bru_comp(Intercept) (level 4)
#> 2025-12-19 10:01:31.693269: bru_input.bm_pipe(Intercept) (level 5)
#> 2025-12-19 10:01:31.694836: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2025-12-19 10:01:31.696362: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2025-12-19 10:01:31.697778: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-12-19 10:01:31.710476: iinla: Start (level 3)
#> 2025-12-19 10:01:31.71167: iinla: Evaluate component linearisations (level 3)
#> 2025-12-19 10:01:31.712884: Linearise components for each observation model (level 3)
#> 2025-12-19 10:01:31.71429: Linearise component 'x' (level 4)
#> 2025-12-19 10:01:31.717329: Linearise component 'Intercept' (level 4)
#> 2025-12-19 10:01:31.720191: iinla: Evaluate component simplifications (level 3)
#> 2025-12-19 10:01:31.721476: Simplify component mappers for each observation model (level 3)
#> 2025-12-19 10:01:31.722898: Simplify component 'x' (level 4)
#> 2025-12-19 10:01:31.725964: Simplify component 'Intercept' (level 4)
#> 2025-12-19 10:01:31.728977: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-19 10:01:31.735499: iinla: Construct inla stack (level 3)
#> 2025-12-19 10:01:31.749363: iinla: Model initialisation completed (level 3)
#> 2025-12-19 10:01:31.751267: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-12-19 10:01:32.091573: iinla: Computation completed (level 3)
#> 2025-12-19 10:01:32.121482: bru: Preprocessing (level 1)
#> 2025-12-19 10:01:32.132335: Evaluate component inputs for each observation model (level 3)
#> 2025-12-19 10:01:32.134029: bru_input(bru_comp_list) (level 4)
#> 2025-12-19 10:01:32.13589: bru_input.bru_comp(z) (level 4)
#> 2025-12-19 10:01:32.137735: bru_input.bm_pipe(z) (level 5)
#> 2025-12-19 10:01:32.139748: bru_input.bm_multi(z:mapper) (level 5)
#> 2025-12-19 10:01:32.141759: bru_input.bru_mapper(z:mapper:main) (level 5)
#> 2025-12-19 10:01:32.143571: bru_input(bru_input) for (z) (level 5)
#> 2025-12-19 10:01:32.151462: bru_input.bru_comp(Intercept) (level 4)
#> 2025-12-19 10:01:32.153338: bru_input.bm_pipe(Intercept) (level 5)
#> 2025-12-19 10:01:32.155384: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2025-12-19 10:01:32.157395: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2025-12-19 10:01:32.159216: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-12-19 10:01:32.174082: iinla: Start (level 3)
#> 2025-12-19 10:01:32.175719: iinla: Evaluate component linearisations (level 3)
#> 2025-12-19 10:01:32.177342: Linearise components for each observation model (level 3)
#> 2025-12-19 10:01:32.17919: Linearise component 'z' (level 4)
#> 2025-12-19 10:01:32.182793: Linearise component 'Intercept' (level 4)
#> 2025-12-19 10:01:32.18619: iinla: Evaluate component simplifications (level 3)
#> 2025-12-19 10:01:32.187812: Simplify component mappers for each observation model (level 3)
#> 2025-12-19 10:01:32.189673: Simplify component 'z' (level 4)
#> 2025-12-19 10:01:32.193365: Simplify component 'Intercept' (level 4)
#> 2025-12-19 10:01:32.197029: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-19 10:01:32.200796: Linearise with respect to component 'z' (level 5)
#> 2025-12-19 10:01:32.207386: Linearise with respect to component 'Intercept' (level 5)
#> 2025-12-19 10:01:32.211665: iinla: Construct inla stack (level 3)
#> 2025-12-19 10:01:32.227005: iinla: Model initialisation completed (level 3)
#> 2025-12-19 10:01:32.2289: iinla: Iteration 1 [max: 10] (level 1)
#> 2025-12-19 10:01:32.555784: iinla: Step rescaling: 61.8%, Contract (norm0 = 2691, norm1 = 2464, norm01 = 494.2) (level 3)
#> 2025-12-19 10:01:32.558683: iinla: Step rescaling: 38.2%, Contract (norm0 = 552.8, norm1 = 411.6, norm01 = 494.2) (level 3)
#> 2025-12-19 10:01:32.562283: iinla: Step rescaling: 27.71%, Approx Optimisation (norm0 = 263, norm1 = 320.6, norm01 = 494.2) (level 3)
#> 2025-12-19 10:01:32.563818: iinla: |lin1-lin0| = 494.2
#> <eta-lin1,delta>/|delta| = -281.1
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 154.1 (level 4)
#> 2025-12-19 10:01:32.565341: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2) (level 2)
#> 2025-12-19 10:01:32.567176: iinla: Evaluate component linearisations (level 3)
#> 2025-12-19 10:01:32.568395: Linearise components for each observation model (level 3)
#> 2025-12-19 10:01:32.56983: Linearise component 'z' (level 4)
#> 2025-12-19 10:01:32.572743: Linearise component 'Intercept' (level 4)
#> 2025-12-19 10:01:32.57557: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-19 10:01:32.578156: Linearise with respect to component 'z' (level 5)
#> 2025-12-19 10:01:32.581847: Linearise with respect to component 'Intercept' (level 5)
#> 2025-12-19 10:01:32.595022: iinla: Iteration 2 [max: 10] (level 1)
#> 2025-12-19 10:01:33.177823: iinla: Step rescaling: 162%, Expand (norm0 = 518.3, norm1 = 200.1, norm01 = 320.5) (level 3)
#> 2025-12-19 10:01:33.180882: iinla: Step rescaling: 100%, Overstep (norm0 = 320.2, norm1 = 13.76, norm01 = 320.5) (level 3)
#> 2025-12-19 10:01:33.184502: iinla: Step rescaling: 99.81%, Approx Optimisation (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5) (level 3)
#> 2025-12-19 10:01:33.185967: iinla: |lin1-lin0| = 320.5
#> <eta-lin1,delta>/|delta| = -1.177
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.69 (level 4)
#> 2025-12-19 10:01:33.18741: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5) (level 2)
#> 2025-12-19 10:01:33.189166: iinla: Evaluate component linearisations (level 3)
#> 2025-12-19 10:01:33.190333: Linearise components for each observation model (level 3)
#> 2025-12-19 10:01:33.191677: Linearise component 'z' (level 4)
#> 2025-12-19 10:01:33.19456: Linearise component 'Intercept' (level 4)
#> 2025-12-19 10:01:33.197303: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-19 10:01:33.199842: Linearise with respect to component 'z' (level 5)
#> 2025-12-19 10:01:33.203326: Linearise with respect to component 'Intercept' (level 5)
#> 2025-12-19 10:01:33.21503: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-12-19 10:01:33.217481: iinla: Iteration 3 [max: 10] (level 1)
#> 2025-12-19 10:01:33.522625: iinla: Step rescaling: 162%, Expand (norm0 = 21.7, norm1 = 7.954, norm01 = 13.75) (level 3)
#> 2025-12-19 10:01:33.525919: iinla: Step rescaling: 100%, Overstep (norm0 = 13.54, norm1 = 0.2086, norm01 = 13.75) (level 3)
#> 2025-12-19 10:01:33.529606: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75) (level 3)
#> 2025-12-19 10:01:33.531196: iinla: |lin1-lin0| = 13.75
#> <eta-lin1,delta>/|delta| = 7.795e-07
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.009295 (level 4)
#> 2025-12-19 10:01:33.532691: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75) (level 2)
#> 2025-12-19 10:01:33.534478: iinla: Evaluate component linearisations (level 3)
#> 2025-12-19 10:01:33.535714: Linearise components for each observation model (level 3)
#> 2025-12-19 10:01:33.537133: Linearise component 'z' (level 4)
#> 2025-12-19 10:01:33.540094: Linearise component 'Intercept' (level 4)
#> 2025-12-19 10:01:33.542972: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-19 10:01:33.545597: Linearise with respect to component 'z' (level 5)
#> 2025-12-19 10:01:33.549168: Linearise with respect to component 'Intercept' (level 5)
#> 2025-12-19 10:01:33.561236: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-12-19 10:01:33.563817: iinla: Iteration 4 [max: 10] (level 1)
#> 2025-12-19 10:01:33.8712: iinla: Step rescaling: 162%, Expand (norm0 = 0.01503, norm1 = 0.005741, norm01 = 0.00929) (level 3)
#> 2025-12-19 10:01:33.874148: iinla: Step rescaling: 100%, Overstep (norm0 = 0.00929, norm1 = 3.115e-08, norm01 = 0.00929) (level 3)
#> 2025-12-19 10:01:33.877802: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.00929, norm1 = 3.112e-08, norm01 = 0.00929) (level 3)
#> 2025-12-19 10:01:33.879357: iinla: |lin1-lin0| = 0.00929
#> <eta-lin1,delta>/|delta| = 2.84e-11
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 3.112e-08 (level 4)
#> 2025-12-19 10:01:33.88115: iinla: Evaluate component linearisations (level 3)
#> 2025-12-19 10:01:33.882363: Linearise components for each observation model (level 3)
#> 2025-12-19 10:01:33.88377: Linearise component 'z' (level 4)
#> 2025-12-19 10:01:33.886634: Linearise component 'Intercept' (level 4)
#> 2025-12-19 10:01:33.88945: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-19 10:01:33.892115: Linearise with respect to component 'z' (level 5)
#> 2025-12-19 10:01:33.895725: Linearise with respect to component 'Intercept' (level 5)
#> 2025-12-19 10:01:33.907701: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-12-19 10:01:33.908951: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2025-12-19 10:01:33.91143: iinla: Iteration 5 [max: 10] (level 1)
#> 2025-12-19 10:01:34.22793: iinla: Computation completed (level 3)
#> 2025-12-19 10:01:35.094065: bru: Preprocessing (level 1)
#> 2025-12-19 10:01:35.103725: Evaluate component inputs for each observation model (level 3)
#> 2025-12-19 10:01:35.105038: bru_input(bru_comp_list) (level 4)
#> 2025-12-19 10:01:35.106422: bru_input.bru_comp(field) (level 4)
#> 2025-12-19 10:01:35.107769: bru_input.bm_pipe(field) (level 5)
#> 2025-12-19 10:01:35.109262: bru_input.bm_multi(field:mapper) (level 5)
#> 2025-12-19 10:01:35.110738: bru_input.bru_mapper(field:mapper:main) (level 5)
#> 2025-12-19 10:01:35.112091: bru_input(bru_input) for (field) (level 5)
#> 2025-12-19 10:01:35.124726: iinla: Start (level 3)
#> 2025-12-19 10:01:35.125961: iinla: Evaluate component linearisations (level 3)
#> 2025-12-19 10:01:35.127194: Linearise components for each observation model (level 3)
#> 2025-12-19 10:01:35.128551: Linearise component 'field' (level 4)
#> 2025-12-19 10:01:35.136157: iinla: Evaluate component simplifications (level 3)
#> 2025-12-19 10:01:35.137439: Simplify component mappers for each observation model (level 3)
#> 2025-12-19 10:01:35.13886: Simplify component 'field' (level 4)
#> 2025-12-19 10:01:35.145047: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-19 10:01:35.14848: iinla: Construct inla stack (level 3)
#> 2025-12-19 10:01:35.158969: iinla: Model initialisation completed (level 3)
#> 2025-12-19 10:01:35.160406: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-12-19 10:01:35.59074: iinla: Computation completed (level 3)
#> 2025-12-19 10:01:37.484929: bru_input(bru_comp_list) (level 4)
#> 2025-12-19 10:01:40.393271: bru: Preprocessing (level 1)
#> 2025-12-19 10:01:40.406645: Evaluate component inputs for each observation model (level 3)
#> 2025-12-19 10:01:40.407964: bru_input(bru_comp_list) (level 4)
#> 2025-12-19 10:01:40.409419: bru_input.bru_comp(x) (level 4)
#> 2025-12-19 10:01:40.41082: bru_input.bm_pipe(x) (level 5)
#> 2025-12-19 10:01:40.412426: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-12-19 10:01:40.413912: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-12-19 10:01:40.415246: bru_input(bru_input) for (x) (level 5)
#> 2025-12-19 10:01:40.423534: bru_input(bru_comp_list) (level 4)
#> 2025-12-19 10:01:40.42502: bru_input.bru_comp(x) (level 4)
#> 2025-12-19 10:01:40.426368: bru_input.bm_pipe(x) (level 5)
#> 2025-12-19 10:01:40.427854: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-12-19 10:01:40.429371: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-12-19 10:01:40.430686: bru_input(bru_input) for (x) (level 5)
#> 2025-12-19 10:01:40.44638: iinla: Start (level 3)
#> 2025-12-19 10:01:40.447607: iinla: Evaluate component linearisations (level 3)
#> 2025-12-19 10:01:40.448771: Linearise components for each observation model (level 3)
#> 2025-12-19 10:01:40.450202: Linearise component 'x' (level 4)
#> 2025-12-19 10:01:40.453562: Linearise component 'x' (level 4)
#> 2025-12-19 10:01:40.456506: iinla: Evaluate component simplifications (level 3)
#> 2025-12-19 10:01:40.457723: Simplify component mappers for each observation model (level 3)
#> 2025-12-19 10:01:40.45912: Simplify component 'x' (level 4)
#> 2025-12-19 10:01:40.462708: Simplify component 'x' (level 4)
#> 2025-12-19 10:01:40.466071: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-19 10:01:40.47201: iinla: Construct inla stack (level 3)
#> 2025-12-19 10:01:40.486408: iinla: Model initialisation completed (level 3)
#> 2025-12-19 10:01:40.487971: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-12-19 10:01:40.84693: iinla: Computation completed (level 3)
#> 2025-12-19 10:01:45.044379: bru_input(bru_input) for (LABEL) (level 5)