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-11-27 15:23:54.273396: inlabru loaded
#> 2025-11-27 15:23:54.273923: Clear override options
#> 2025-11-27 15:24:05.871798: bru: Preprocessing
#> 2025-11-27 15:24:06.003042: iinla: Iteration 1 [max: 1]
#> 2025-11-27 15:24:06.906336: bru: Preprocessing
#> 2025-11-27 15:24:07.004639: iinla: Iteration 1 [max: 1]
#> 2025-11-27 15:24:07.466765: bru: Preprocessing
#> 2025-11-27 15:24:07.577743: iinla: Iteration 1 [max: 10]
#> 2025-11-27 15:24:07.977133: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-11-27 15:24:08.007184: iinla: Iteration 2 [max: 10]
#> 2025-11-27 15:24:08.687246: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-11-27 15:24:08.71582: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-11-27 15:24:08.71835: iinla: Iteration 3 [max: 10]
#> 2025-11-27 15:24:09.114861: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-11-27 15:24:09.143823: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-11-27 15:24:09.146553: iinla: Iteration 4 [max: 10]
#> 2025-11-27 15:24:09.568764: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-11-27 15:24:09.57004: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-11-27 15:24:09.572719: iinla: Iteration 5 [max: 10]
#> 2025-11-27 15:24:10.880118: bru: Preprocessing
#> 2025-11-27 15:24:10.950529: iinla: Iteration 1 [max: 1]
#> 2025-11-27 15:24:17.062703: bru: Preprocessing
#> 2025-11-27 15:24:17.15575: iinla: Iteration 1 [max: 1]
format(bru_log())
#> 2025-11-27 15:23:54.273396: inlabru loaded
#> 2025-11-27 15:23:54.273923: Clear override options
#> 2025-11-27 15:24:05.871798: bru: Preprocessing
#> 2025-11-27 15:24:05.895723: Evaluate component inputs for each observation model
#> 2025-11-27 15:24:05.897363: bru_input(bru_comp_list)
#> 2025-11-27 15:24:05.899045: bru_input.bru_comp(x)
#> 2025-11-27 15:24:05.900691: bru_input.bm_pipe(x)
#> 2025-11-27 15:24:05.902375: bru_input.bm_multi(x:mapper)
#> 2025-11-27 15:24:05.90402: bru_input.bru_mapper(x:mapper:main)
#> 2025-11-27 15:24:05.905803: bru_input(bru_input) for (x)
#> 2025-11-27 15:24:05.914114: bru_input.bru_comp(Intercept)
#> 2025-11-27 15:24:05.915555: bru_input.bm_pipe(Intercept)
#> 2025-11-27 15:24:05.917175: bru_input.bm_multi(Intercept:mapper)
#> 2025-11-27 15:24:05.918835: bru_input.bru_mapper(Intercept:mapper:main)
#> 2025-11-27 15:24:05.920313: bru_input(bru_input) for (Intercept)
#> 2025-11-27 15:24:05.936688: iinla: Start
#> 2025-11-27 15:24:05.937945: iinla: Evaluate component linearisations
#> 2025-11-27 15:24:05.939244: Linearise components for each observation model
#> 2025-11-27 15:24:05.940793: Linearise component 'x'
#> 2025-11-27 15:24:05.943783: Linearise component 'Intercept'
#> 2025-11-27 15:24:05.946721: iinla: Evaluate component simplifications
#> 2025-11-27 15:24:05.948123: Simplify component mappers for each observation model
#> 2025-11-27 15:24:05.949745: Simplify component 'x'
#> 2025-11-27 15:24:05.952985: Simplify component 'Intercept'
#> 2025-11-27 15:24:05.956008: iinla: Evaluate predictor linearisation
#> 2025-11-27 15:24:05.969571: iinla: Construct inla stack
#> 2025-11-27 15:24:06.000675: iinla: Model initialisation completed
#> 2025-11-27 15:24:06.003042: iinla: Iteration 1 [max: 1]
#> 2025-11-27 15:24:06.867609: iinla: Computation completed
#> 2025-11-27 15:24:06.906336: bru: Preprocessing
#> 2025-11-27 15:24:06.915874: Evaluate component inputs for each observation model
#> 2025-11-27 15:24:06.917237: bru_input(bru_comp_list)
#> 2025-11-27 15:24:06.918699: bru_input.bru_comp(x)
#> 2025-11-27 15:24:06.920169: bru_input.bm_pipe(x)
#> 2025-11-27 15:24:06.921733: bru_input.bm_multi(x:mapper)
#> 2025-11-27 15:24:06.9233: bru_input.bru_mapper(x:mapper:main)
#> 2025-11-27 15:24:06.924716: bru_input(bru_input) for (x)
#> 2025-11-27 15:24:06.931967: bru_input.bru_comp(Intercept)
#> 2025-11-27 15:24:06.933449: bru_input.bm_pipe(Intercept)
#> 2025-11-27 15:24:06.935015: bru_input.bm_multi(Intercept:mapper)
#> 2025-11-27 15:24:06.937085: bru_input.bru_mapper(Intercept:mapper:main)
#> 2025-11-27 15:24:06.938994: bru_input(bru_input) for (Intercept)
#> 2025-11-27 15:24:06.955496: iinla: Start
#> 2025-11-27 15:24:06.957179: iinla: Evaluate component linearisations
#> 2025-11-27 15:24:06.95895: Linearise components for each observation model
#> 2025-11-27 15:24:06.960858: Linearise component 'x'
#> 2025-11-27 15:24:06.964546: Linearise component 'Intercept'
#> 2025-11-27 15:24:06.967933: iinla: Evaluate component simplifications
#> 2025-11-27 15:24:06.969573: Simplify component mappers for each observation model
#> 2025-11-27 15:24:06.971465: Simplify component 'x'
#> 2025-11-27 15:24:06.975183: Simplify component 'Intercept'
#> 2025-11-27 15:24:06.97891: iinla: Evaluate predictor linearisation
#> 2025-11-27 15:24:06.987119: iinla: Construct inla stack
#> 2025-11-27 15:24:07.002686: iinla: Model initialisation completed
#> 2025-11-27 15:24:07.004639: iinla: Iteration 1 [max: 1]
#> 2025-11-27 15:24:07.424296: iinla: Computation completed
#> 2025-11-27 15:24:07.466765: bru: Preprocessing
#> 2025-11-27 15:24:07.477887: Evaluate component inputs for each observation model
#> 2025-11-27 15:24:07.479604: bru_input(bru_comp_list)
#> 2025-11-27 15:24:07.48145: bru_input.bru_comp(z)
#> 2025-11-27 15:24:07.483304: bru_input.bm_pipe(z)
#> 2025-11-27 15:24:07.485437: bru_input.bm_multi(z:mapper)
#> 2025-11-27 15:24:07.487434: bru_input.bru_mapper(z:mapper:main)
#> 2025-11-27 15:24:07.489252: bru_input(bru_input) for (z)
#> 2025-11-27 15:24:07.497472: bru_input.bru_comp(Intercept)
#> 2025-11-27 15:24:07.499354: bru_input.bm_pipe(Intercept)
#> 2025-11-27 15:24:07.501402: bru_input.bm_multi(Intercept:mapper)
#> 2025-11-27 15:24:07.503437: bru_input.bru_mapper(Intercept:mapper:main)
#> 2025-11-27 15:24:07.505373: bru_input(bru_input) for (Intercept)
#> 2025-11-27 15:24:07.521908: iinla: Start
#> 2025-11-27 15:24:07.52356: iinla: Evaluate component linearisations
#> 2025-11-27 15:24:07.525217: Linearise components for each observation model
#> 2025-11-27 15:24:07.527148: Linearise component 'z'
#> 2025-11-27 15:24:07.53081: Linearise component 'Intercept'
#> 2025-11-27 15:24:07.534233: iinla: Evaluate component simplifications
#> 2025-11-27 15:24:07.535858: Simplify component mappers for each observation model
#> 2025-11-27 15:24:07.537749: Simplify component 'z'
#> 2025-11-27 15:24:07.541519: Simplify component 'Intercept'
#> 2025-11-27 15:24:07.545228: iinla: Evaluate predictor linearisation
#> 2025-11-27 15:24:07.549216: Linearise with respect to component 'z'
#> 2025-11-27 15:24:07.555929: Linearise with respect to component 'Intercept'
#> 2025-11-27 15:24:07.560234: iinla: Construct inla stack
#> 2025-11-27 15:24:07.575836: iinla: Model initialisation completed
#> 2025-11-27 15:24:07.577743: iinla: Iteration 1 [max: 10]
#> 2025-11-27 15:24:07.966884: iinla: Step rescaling: 61.8%, Contract (norm0 = 2691, norm1 = 2464, norm01 = 494.2)
#> 2025-11-27 15:24:07.970125: iinla: Step rescaling: 38.2%, Contract (norm0 = 552.8, norm1 = 411.6, norm01 = 494.2)
#> 2025-11-27 15:24:07.97402: iinla: Step rescaling: 27.71%, Approx Optimisation (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-11-27 15:24:07.975586: iinla: |lin1-lin0| = 494.2
#> <eta-lin1,delta>/|delta| = -281.1
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 154.1
#> 2025-11-27 15:24:07.977133: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-11-27 15:24:07.978956: iinla: Evaluate component linearisations
#> 2025-11-27 15:24:07.980214: Linearise components for each observation model
#> 2025-11-27 15:24:07.981664: Linearise component 'z'
#> 2025-11-27 15:24:07.984656: Linearise component 'Intercept'
#> 2025-11-27 15:24:07.98752: iinla: Evaluate predictor linearisation
#> 2025-11-27 15:24:07.990233: Linearise with respect to component 'z'
#> 2025-11-27 15:24:07.993937: Linearise with respect to component 'Intercept'
#> 2025-11-27 15:24:08.007184: iinla: Iteration 2 [max: 10]
#> 2025-11-27 15:24:08.677341: iinla: Step rescaling: 162%, Expand (norm0 = 518.3, norm1 = 200.1, norm01 = 320.5)
#> 2025-11-27 15:24:08.68045: iinla: Step rescaling: 100%, Overstep (norm0 = 320.2, norm1 = 13.76, norm01 = 320.5)
#> 2025-11-27 15:24:08.684173: iinla: Step rescaling: 99.81%, Approx Optimisation (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-11-27 15:24:08.685736: iinla: |lin1-lin0| = 320.5
#> <eta-lin1,delta>/|delta| = -1.177
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.69
#> 2025-11-27 15:24:08.687246: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-11-27 15:24:08.689012: iinla: Evaluate component linearisations
#> 2025-11-27 15:24:08.690224: Linearise components for each observation model
#> 2025-11-27 15:24:08.691625: Linearise component 'z'
#> 2025-11-27 15:24:08.694552: Linearise component 'Intercept'
#> 2025-11-27 15:24:08.697412: iinla: Evaluate predictor linearisation
#> 2025-11-27 15:24:08.700008: Linearise with respect to component 'z'
#> 2025-11-27 15:24:08.703632: Linearise with respect to component 'Intercept'
#> 2025-11-27 15:24:08.71582: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-11-27 15:24:08.71835: iinla: Iteration 3 [max: 10]
#> 2025-11-27 15:24:09.104886: iinla: Step rescaling: 162%, Expand (norm0 = 21.7, norm1 = 7.954, norm01 = 13.75)
#> 2025-11-27 15:24:09.108009: iinla: Step rescaling: 100%, Overstep (norm0 = 13.54, norm1 = 0.2086, norm01 = 13.75)
#> 2025-11-27 15:24:09.111701: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-11-27 15:24:09.113328: iinla: |lin1-lin0| = 13.75
#> <eta-lin1,delta>/|delta| = 7.795e-07
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.009295
#> 2025-11-27 15:24:09.114861: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-11-27 15:24:09.116647: iinla: Evaluate component linearisations
#> 2025-11-27 15:24:09.117866: Linearise components for each observation model
#> 2025-11-27 15:24:09.11937: Linearise component 'z'
#> 2025-11-27 15:24:09.122335: Linearise component 'Intercept'
#> 2025-11-27 15:24:09.125258: iinla: Evaluate predictor linearisation
#> 2025-11-27 15:24:09.127919: Linearise with respect to component 'z'
#> 2025-11-27 15:24:09.131593: Linearise with respect to component 'Intercept'
#> 2025-11-27 15:24:09.143823: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-11-27 15:24:09.146553: iinla: Iteration 4 [max: 10]
#> 2025-11-27 15:24:09.530917: iinla: Step rescaling: 162%, Expand (norm0 = 0.01503, norm1 = 0.005741, norm01 = 0.00929)
#> 2025-11-27 15:24:09.533974: iinla: Step rescaling: 100%, Overstep (norm0 = 0.00929, norm1 = 3.115e-08, norm01 = 0.00929)
#> 2025-11-27 15:24:09.537748: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.00929, norm1 = 3.112e-08, norm01 = 0.00929)
#> 2025-11-27 15:24:09.539323: iinla: |lin1-lin0| = 0.00929
#> <eta-lin1,delta>/|delta| = 2.84e-11
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 3.112e-08
#> 2025-11-27 15:24:09.541214: iinla: Evaluate component linearisations
#> 2025-11-27 15:24:09.542456: Linearise components for each observation model
#> 2025-11-27 15:24:09.543914: Linearise component 'z'
#> 2025-11-27 15:24:09.546999: Linearise component 'Intercept'
#> 2025-11-27 15:24:09.54987: iinla: Evaluate predictor linearisation
#> 2025-11-27 15:24:09.552681: Linearise with respect to component 'z'
#> 2025-11-27 15:24:09.556424: Linearise with respect to component 'Intercept'
#> 2025-11-27 15:24:09.568764: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-11-27 15:24:09.57004: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-11-27 15:24:09.572719: iinla: Iteration 5 [max: 10]
#> 2025-11-27 15:24:09.969945: iinla: Computation completed
#> 2025-11-27 15:24:10.880118: bru: Preprocessing
#> 2025-11-27 15:24:10.890466: Evaluate component inputs for each observation model
#> 2025-11-27 15:24:10.8919: bru_input(bru_comp_list)
#> 2025-11-27 15:24:10.89342: bru_input.bru_comp(field)
#> 2025-11-27 15:24:10.894874: bru_input.bm_pipe(field)
#> 2025-11-27 15:24:10.896448: bru_input.bm_multi(field:mapper)
#> 2025-11-27 15:24:10.898027: bru_input.bru_mapper(field:mapper:main)
#> 2025-11-27 15:24:10.899473: bru_input(bru_input) for (field)
#> 2025-11-27 15:24:10.91387: iinla: Start
#> 2025-11-27 15:24:10.915141: iinla: Evaluate component linearisations
#> 2025-11-27 15:24:10.916368: Linearise components for each observation model
#> 2025-11-27 15:24:10.91779: Linearise component 'field'
#> 2025-11-27 15:24:10.925607: iinla: Evaluate component simplifications
#> 2025-11-27 15:24:10.926888: Simplify component mappers for each observation model
#> 2025-11-27 15:24:10.928314: Simplify component 'field'
#> 2025-11-27 15:24:10.9347: iinla: Evaluate predictor linearisation
#> 2025-11-27 15:24:10.938291: iinla: Construct inla stack
#> 2025-11-27 15:24:10.949016: iinla: Model initialisation completed
#> 2025-11-27 15:24:10.950529: iinla: Iteration 1 [max: 1]
#> 2025-11-27 15:24:11.461323: iinla: Computation completed
#> 2025-11-27 15:24:13.646487: bru_input(bru_comp_list)
#> 2025-11-27 15:24:17.062703: bru: Preprocessing
#> 2025-11-27 15:24:17.075736: Evaluate component inputs for each observation model
#> 2025-11-27 15:24:17.077039: bru_input(bru_comp_list)
#> 2025-11-27 15:24:17.07857: bru_input.bru_comp(x)
#> 2025-11-27 15:24:17.079936: bru_input.bm_pipe(x)
#> 2025-11-27 15:24:17.081454: bru_input.bm_multi(x:mapper)
#> 2025-11-27 15:24:17.082951: bru_input.bru_mapper(x:mapper:main)
#> 2025-11-27 15:24:17.084296: bru_input(bru_input) for (x)
#> 2025-11-27 15:24:17.09307: bru_input(bru_comp_list)
#> 2025-11-27 15:24:17.094442: bru_input.bru_comp(x)
#> 2025-11-27 15:24:17.095788: bru_input.bm_pipe(x)
#> 2025-11-27 15:24:17.097265: bru_input.bm_multi(x:mapper)
#> 2025-11-27 15:24:17.098709: bru_input.bru_mapper(x:mapper:main)
#> 2025-11-27 15:24:17.100011: bru_input(bru_input) for (x)
#> 2025-11-27 15:24:17.114149: iinla: Start
#> 2025-11-27 15:24:17.115337: iinla: Evaluate component linearisations
#> 2025-11-27 15:24:17.116515: Linearise components for each observation model
#> 2025-11-27 15:24:17.117874: Linearise component 'x'
#> 2025-11-27 15:24:17.120908: Linearise component 'x'
#> 2025-11-27 15:24:17.123718: iinla: Evaluate component simplifications
#> 2025-11-27 15:24:17.124926: Simplify component mappers for each observation model
#> 2025-11-27 15:24:17.126343: Simplify component 'x'
#> 2025-11-27 15:24:17.129454: Simplify component 'x'
#> 2025-11-27 15:24:17.132366: iinla: Evaluate predictor linearisation
#> 2025-11-27 15:24:17.139678: iinla: Construct inla stack
#> 2025-11-27 15:24:17.154292: iinla: Model initialisation completed
#> 2025-11-27 15:24:17.15575: iinla: Iteration 1 [max: 1]
#> 2025-11-27 15:24:17.579158: iinla: Computation completed
#> 2025-11-27 15:24:20.679257: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2025-11-27 15:23:54.273396: inlabru loaded
#> 2025-11-27 15:23:54.273923: Clear override options
#> 2025-11-27 15:24:05.871798: bru: Preprocessing
#> 2025-11-27 15:24:06.003042: iinla: Iteration 1 [max: 1]
#> 2025-11-27 15:24:06.906336: bru: Preprocessing
#> 2025-11-27 15:24:07.004639: iinla: Iteration 1 [max: 1]
#> 2025-11-27 15:24:07.466765: bru: Preprocessing
#> 2025-11-27 15:24:07.577743: iinla: Iteration 1 [max: 10]
#> 2025-11-27 15:24:07.977133: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-11-27 15:24:08.007184: iinla: Iteration 2 [max: 10]
#> 2025-11-27 15:24:08.687246: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-11-27 15:24:08.71582: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-11-27 15:24:08.71835: iinla: Iteration 3 [max: 10]
#> 2025-11-27 15:24:09.114861: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-11-27 15:24:09.143823: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-11-27 15:24:09.146553: iinla: Iteration 4 [max: 10]
#> 2025-11-27 15:24:09.568764: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-11-27 15:24:09.57004: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-11-27 15:24:09.572719: iinla: Iteration 5 [max: 10]
#> 2025-11-27 15:24:10.880118: bru: Preprocessing
#> 2025-11-27 15:24:10.950529: iinla: Iteration 1 [max: 1]
#> 2025-11-27 15:24:17.062703: bru: Preprocessing
#> 2025-11-27 15:24:17.15575: iinla: Iteration 1 [max: 1]
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2025-11-27 15:23:54.273396: inlabru loaded (level 1)
#> 2025-11-27 15:23:54.273923: Clear override options (level 1)
#> 2025-11-27 15:24:05.871798: bru: Preprocessing (level 1)
#> 2025-11-27 15:24:05.895723: Evaluate component inputs for each observation model (level 3)
#> 2025-11-27 15:24:05.897363: bru_input(bru_comp_list) (level 4)
#> 2025-11-27 15:24:05.899045: bru_input.bru_comp(x) (level 4)
#> 2025-11-27 15:24:05.900691: bru_input.bm_pipe(x) (level 5)
#> 2025-11-27 15:24:05.902375: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-11-27 15:24:05.90402: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-11-27 15:24:05.905803: bru_input(bru_input) for (x) (level 5)
#> 2025-11-27 15:24:05.914114: bru_input.bru_comp(Intercept) (level 4)
#> 2025-11-27 15:24:05.915555: bru_input.bm_pipe(Intercept) (level 5)
#> 2025-11-27 15:24:05.917175: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2025-11-27 15:24:05.918835: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2025-11-27 15:24:05.920313: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-11-27 15:24:05.936688: iinla: Start (level 3)
#> 2025-11-27 15:24:05.937945: iinla: Evaluate component linearisations (level 3)
#> 2025-11-27 15:24:05.939244: Linearise components for each observation model (level 3)
#> 2025-11-27 15:24:05.940793: Linearise component 'x' (level 4)
#> 2025-11-27 15:24:05.943783: Linearise component 'Intercept' (level 4)
#> 2025-11-27 15:24:05.946721: iinla: Evaluate component simplifications (level 3)
#> 2025-11-27 15:24:05.948123: Simplify component mappers for each observation model (level 3)
#> 2025-11-27 15:24:05.949745: Simplify component 'x' (level 4)
#> 2025-11-27 15:24:05.952985: Simplify component 'Intercept' (level 4)
#> 2025-11-27 15:24:05.956008: iinla: Evaluate predictor linearisation (level 3)
#> 2025-11-27 15:24:05.969571: iinla: Construct inla stack (level 3)
#> 2025-11-27 15:24:06.000675: iinla: Model initialisation completed (level 3)
#> 2025-11-27 15:24:06.003042: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-11-27 15:24:06.867609: iinla: Computation completed (level 3)
#> 2025-11-27 15:24:06.906336: bru: Preprocessing (level 1)
#> 2025-11-27 15:24:06.915874: Evaluate component inputs for each observation model (level 3)
#> 2025-11-27 15:24:06.917237: bru_input(bru_comp_list) (level 4)
#> 2025-11-27 15:24:06.918699: bru_input.bru_comp(x) (level 4)
#> 2025-11-27 15:24:06.920169: bru_input.bm_pipe(x) (level 5)
#> 2025-11-27 15:24:06.921733: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-11-27 15:24:06.9233: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-11-27 15:24:06.924716: bru_input(bru_input) for (x) (level 5)
#> 2025-11-27 15:24:06.931967: bru_input.bru_comp(Intercept) (level 4)
#> 2025-11-27 15:24:06.933449: bru_input.bm_pipe(Intercept) (level 5)
#> 2025-11-27 15:24:06.935015: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2025-11-27 15:24:06.937085: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2025-11-27 15:24:06.938994: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-11-27 15:24:06.955496: iinla: Start (level 3)
#> 2025-11-27 15:24:06.957179: iinla: Evaluate component linearisations (level 3)
#> 2025-11-27 15:24:06.95895: Linearise components for each observation model (level 3)
#> 2025-11-27 15:24:06.960858: Linearise component 'x' (level 4)
#> 2025-11-27 15:24:06.964546: Linearise component 'Intercept' (level 4)
#> 2025-11-27 15:24:06.967933: iinla: Evaluate component simplifications (level 3)
#> 2025-11-27 15:24:06.969573: Simplify component mappers for each observation model (level 3)
#> 2025-11-27 15:24:06.971465: Simplify component 'x' (level 4)
#> 2025-11-27 15:24:06.975183: Simplify component 'Intercept' (level 4)
#> 2025-11-27 15:24:06.97891: iinla: Evaluate predictor linearisation (level 3)
#> 2025-11-27 15:24:06.987119: iinla: Construct inla stack (level 3)
#> 2025-11-27 15:24:07.002686: iinla: Model initialisation completed (level 3)
#> 2025-11-27 15:24:07.004639: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-11-27 15:24:07.424296: iinla: Computation completed (level 3)
#> 2025-11-27 15:24:07.466765: bru: Preprocessing (level 1)
#> 2025-11-27 15:24:07.477887: Evaluate component inputs for each observation model (level 3)
#> 2025-11-27 15:24:07.479604: bru_input(bru_comp_list) (level 4)
#> 2025-11-27 15:24:07.48145: bru_input.bru_comp(z) (level 4)
#> 2025-11-27 15:24:07.483304: bru_input.bm_pipe(z) (level 5)
#> 2025-11-27 15:24:07.485437: bru_input.bm_multi(z:mapper) (level 5)
#> 2025-11-27 15:24:07.487434: bru_input.bru_mapper(z:mapper:main) (level 5)
#> 2025-11-27 15:24:07.489252: bru_input(bru_input) for (z) (level 5)
#> 2025-11-27 15:24:07.497472: bru_input.bru_comp(Intercept) (level 4)
#> 2025-11-27 15:24:07.499354: bru_input.bm_pipe(Intercept) (level 5)
#> 2025-11-27 15:24:07.501402: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2025-11-27 15:24:07.503437: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2025-11-27 15:24:07.505373: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-11-27 15:24:07.521908: iinla: Start (level 3)
#> 2025-11-27 15:24:07.52356: iinla: Evaluate component linearisations (level 3)
#> 2025-11-27 15:24:07.525217: Linearise components for each observation model (level 3)
#> 2025-11-27 15:24:07.527148: Linearise component 'z' (level 4)
#> 2025-11-27 15:24:07.53081: Linearise component 'Intercept' (level 4)
#> 2025-11-27 15:24:07.534233: iinla: Evaluate component simplifications (level 3)
#> 2025-11-27 15:24:07.535858: Simplify component mappers for each observation model (level 3)
#> 2025-11-27 15:24:07.537749: Simplify component 'z' (level 4)
#> 2025-11-27 15:24:07.541519: Simplify component 'Intercept' (level 4)
#> 2025-11-27 15:24:07.545228: iinla: Evaluate predictor linearisation (level 3)
#> 2025-11-27 15:24:07.549216: Linearise with respect to component 'z' (level 5)
#> 2025-11-27 15:24:07.555929: Linearise with respect to component 'Intercept' (level 5)
#> 2025-11-27 15:24:07.560234: iinla: Construct inla stack (level 3)
#> 2025-11-27 15:24:07.575836: iinla: Model initialisation completed (level 3)
#> 2025-11-27 15:24:07.577743: iinla: Iteration 1 [max: 10] (level 1)
#> 2025-11-27 15:24:07.966884: iinla: Step rescaling: 61.8%, Contract (norm0 = 2691, norm1 = 2464, norm01 = 494.2) (level 3)
#> 2025-11-27 15:24:07.970125: iinla: Step rescaling: 38.2%, Contract (norm0 = 552.8, norm1 = 411.6, norm01 = 494.2) (level 3)
#> 2025-11-27 15:24:07.97402: iinla: Step rescaling: 27.71%, Approx Optimisation (norm0 = 263, norm1 = 320.6, norm01 = 494.2) (level 3)
#> 2025-11-27 15:24:07.975586: iinla: |lin1-lin0| = 494.2
#> <eta-lin1,delta>/|delta| = -281.1
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 154.1 (level 4)
#> 2025-11-27 15:24:07.977133: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2) (level 2)
#> 2025-11-27 15:24:07.978956: iinla: Evaluate component linearisations (level 3)
#> 2025-11-27 15:24:07.980214: Linearise components for each observation model (level 3)
#> 2025-11-27 15:24:07.981664: Linearise component 'z' (level 4)
#> 2025-11-27 15:24:07.984656: Linearise component 'Intercept' (level 4)
#> 2025-11-27 15:24:07.98752: iinla: Evaluate predictor linearisation (level 3)
#> 2025-11-27 15:24:07.990233: Linearise with respect to component 'z' (level 5)
#> 2025-11-27 15:24:07.993937: Linearise with respect to component 'Intercept' (level 5)
#> 2025-11-27 15:24:08.007184: iinla: Iteration 2 [max: 10] (level 1)
#> 2025-11-27 15:24:08.677341: iinla: Step rescaling: 162%, Expand (norm0 = 518.3, norm1 = 200.1, norm01 = 320.5) (level 3)
#> 2025-11-27 15:24:08.68045: iinla: Step rescaling: 100%, Overstep (norm0 = 320.2, norm1 = 13.76, norm01 = 320.5) (level 3)
#> 2025-11-27 15:24:08.684173: iinla: Step rescaling: 99.81%, Approx Optimisation (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5) (level 3)
#> 2025-11-27 15:24:08.685736: iinla: |lin1-lin0| = 320.5
#> <eta-lin1,delta>/|delta| = -1.177
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.69 (level 4)
#> 2025-11-27 15:24:08.687246: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5) (level 2)
#> 2025-11-27 15:24:08.689012: iinla: Evaluate component linearisations (level 3)
#> 2025-11-27 15:24:08.690224: Linearise components for each observation model (level 3)
#> 2025-11-27 15:24:08.691625: Linearise component 'z' (level 4)
#> 2025-11-27 15:24:08.694552: Linearise component 'Intercept' (level 4)
#> 2025-11-27 15:24:08.697412: iinla: Evaluate predictor linearisation (level 3)
#> 2025-11-27 15:24:08.700008: Linearise with respect to component 'z' (level 5)
#> 2025-11-27 15:24:08.703632: Linearise with respect to component 'Intercept' (level 5)
#> 2025-11-27 15:24:08.71582: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-11-27 15:24:08.71835: iinla: Iteration 3 [max: 10] (level 1)
#> 2025-11-27 15:24:09.104886: iinla: Step rescaling: 162%, Expand (norm0 = 21.7, norm1 = 7.954, norm01 = 13.75) (level 3)
#> 2025-11-27 15:24:09.108009: iinla: Step rescaling: 100%, Overstep (norm0 = 13.54, norm1 = 0.2086, norm01 = 13.75) (level 3)
#> 2025-11-27 15:24:09.111701: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75) (level 3)
#> 2025-11-27 15:24:09.113328: 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-11-27 15:24:09.114861: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75) (level 2)
#> 2025-11-27 15:24:09.116647: iinla: Evaluate component linearisations (level 3)
#> 2025-11-27 15:24:09.117866: Linearise components for each observation model (level 3)
#> 2025-11-27 15:24:09.11937: Linearise component 'z' (level 4)
#> 2025-11-27 15:24:09.122335: Linearise component 'Intercept' (level 4)
#> 2025-11-27 15:24:09.125258: iinla: Evaluate predictor linearisation (level 3)
#> 2025-11-27 15:24:09.127919: Linearise with respect to component 'z' (level 5)
#> 2025-11-27 15:24:09.131593: Linearise with respect to component 'Intercept' (level 5)
#> 2025-11-27 15:24:09.143823: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-11-27 15:24:09.146553: iinla: Iteration 4 [max: 10] (level 1)
#> 2025-11-27 15:24:09.530917: iinla: Step rescaling: 162%, Expand (norm0 = 0.01503, norm1 = 0.005741, norm01 = 0.00929) (level 3)
#> 2025-11-27 15:24:09.533974: iinla: Step rescaling: 100%, Overstep (norm0 = 0.00929, norm1 = 3.115e-08, norm01 = 0.00929) (level 3)
#> 2025-11-27 15:24:09.537748: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.00929, norm1 = 3.112e-08, norm01 = 0.00929) (level 3)
#> 2025-11-27 15:24:09.539323: 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-11-27 15:24:09.541214: iinla: Evaluate component linearisations (level 3)
#> 2025-11-27 15:24:09.542456: Linearise components for each observation model (level 3)
#> 2025-11-27 15:24:09.543914: Linearise component 'z' (level 4)
#> 2025-11-27 15:24:09.546999: Linearise component 'Intercept' (level 4)
#> 2025-11-27 15:24:09.54987: iinla: Evaluate predictor linearisation (level 3)
#> 2025-11-27 15:24:09.552681: Linearise with respect to component 'z' (level 5)
#> 2025-11-27 15:24:09.556424: Linearise with respect to component 'Intercept' (level 5)
#> 2025-11-27 15:24:09.568764: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-11-27 15:24:09.57004: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2025-11-27 15:24:09.572719: iinla: Iteration 5 [max: 10] (level 1)
#> 2025-11-27 15:24:09.969945: iinla: Computation completed (level 3)
#> 2025-11-27 15:24:10.880118: bru: Preprocessing (level 1)
#> 2025-11-27 15:24:10.890466: Evaluate component inputs for each observation model (level 3)
#> 2025-11-27 15:24:10.8919: bru_input(bru_comp_list) (level 4)
#> 2025-11-27 15:24:10.89342: bru_input.bru_comp(field) (level 4)
#> 2025-11-27 15:24:10.894874: bru_input.bm_pipe(field) (level 5)
#> 2025-11-27 15:24:10.896448: bru_input.bm_multi(field:mapper) (level 5)
#> 2025-11-27 15:24:10.898027: bru_input.bru_mapper(field:mapper:main) (level 5)
#> 2025-11-27 15:24:10.899473: bru_input(bru_input) for (field) (level 5)
#> 2025-11-27 15:24:10.91387: iinla: Start (level 3)
#> 2025-11-27 15:24:10.915141: iinla: Evaluate component linearisations (level 3)
#> 2025-11-27 15:24:10.916368: Linearise components for each observation model (level 3)
#> 2025-11-27 15:24:10.91779: Linearise component 'field' (level 4)
#> 2025-11-27 15:24:10.925607: iinla: Evaluate component simplifications (level 3)
#> 2025-11-27 15:24:10.926888: Simplify component mappers for each observation model (level 3)
#> 2025-11-27 15:24:10.928314: Simplify component 'field' (level 4)
#> 2025-11-27 15:24:10.9347: iinla: Evaluate predictor linearisation (level 3)
#> 2025-11-27 15:24:10.938291: iinla: Construct inla stack (level 3)
#> 2025-11-27 15:24:10.949016: iinla: Model initialisation completed (level 3)
#> 2025-11-27 15:24:10.950529: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-11-27 15:24:11.461323: iinla: Computation completed (level 3)
#> 2025-11-27 15:24:13.646487: bru_input(bru_comp_list) (level 4)
#> 2025-11-27 15:24:17.062703: bru: Preprocessing (level 1)
#> 2025-11-27 15:24:17.075736: Evaluate component inputs for each observation model (level 3)
#> 2025-11-27 15:24:17.077039: bru_input(bru_comp_list) (level 4)
#> 2025-11-27 15:24:17.07857: bru_input.bru_comp(x) (level 4)
#> 2025-11-27 15:24:17.079936: bru_input.bm_pipe(x) (level 5)
#> 2025-11-27 15:24:17.081454: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-11-27 15:24:17.082951: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-11-27 15:24:17.084296: bru_input(bru_input) for (x) (level 5)
#> 2025-11-27 15:24:17.09307: bru_input(bru_comp_list) (level 4)
#> 2025-11-27 15:24:17.094442: bru_input.bru_comp(x) (level 4)
#> 2025-11-27 15:24:17.095788: bru_input.bm_pipe(x) (level 5)
#> 2025-11-27 15:24:17.097265: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-11-27 15:24:17.098709: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-11-27 15:24:17.100011: bru_input(bru_input) for (x) (level 5)
#> 2025-11-27 15:24:17.114149: iinla: Start (level 3)
#> 2025-11-27 15:24:17.115337: iinla: Evaluate component linearisations (level 3)
#> 2025-11-27 15:24:17.116515: Linearise components for each observation model (level 3)
#> 2025-11-27 15:24:17.117874: Linearise component 'x' (level 4)
#> 2025-11-27 15:24:17.120908: Linearise component 'x' (level 4)
#> 2025-11-27 15:24:17.123718: iinla: Evaluate component simplifications (level 3)
#> 2025-11-27 15:24:17.124926: Simplify component mappers for each observation model (level 3)
#> 2025-11-27 15:24:17.126343: Simplify component 'x' (level 4)
#> 2025-11-27 15:24:17.129454: Simplify component 'x' (level 4)
#> 2025-11-27 15:24:17.132366: iinla: Evaluate predictor linearisation (level 3)
#> 2025-11-27 15:24:17.139678: iinla: Construct inla stack (level 3)
#> 2025-11-27 15:24:17.154292: iinla: Model initialisation completed (level 3)
#> 2025-11-27 15:24:17.15575: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-11-27 15:24:17.579158: iinla: Computation completed (level 3)
#> 2025-11-27 15:24:20.679257: bru_input(bru_input) for (LABEL) (level 5)