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)
#> 2026-02-10 17:37:28.928747: inlabru loaded
#> 2026-02-10 17:37:28.929202: Clear override options
#> 2026-02-10 17:37:39.298085: bru: Preprocessing
#> 2026-02-10 17:37:39.413999: iinla: Iteration 1 [max: 1]
#> 2026-02-10 17:37:40.125658: bru: Preprocessing
#> 2026-02-10 17:37:40.215941: iinla: Iteration 1 [max: 1]
#> 2026-02-10 17:37:40.516804: bru: Preprocessing
#> 2026-02-10 17:37:40.615148: iinla: Iteration 1 [max: 10]
#> 2026-02-10 17:37:40.886979: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5)
#> 2026-02-10 17:37:40.916317: iinla: Iteration 2 [max: 10]
#> 2026-02-10 17:37:41.432616: iinla: Step rescaling: 99.5% (norm0 = 260.4, norm1 = 13.93, norm01 = 261.5)
#> 2026-02-10 17:37:41.459046: iinla: Max deviation from previous: 54200% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:41.46134: iinla: Iteration 3 [max: 10]
#> 2026-02-10 17:37:41.722585: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94)
#> 2026-02-10 17:37:41.74907: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:41.751391: iinla: Iteration 4 [max: 10]
#> 2026-02-10 17:37:42.036529: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:42.038837: iinla: Iteration 5 [max: 10]
#> 2026-02-10 17:37:42.334931: iinla: Max deviation from previous: 0.111% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:42.336065: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-02-10 17:37:42.33832: iinla: Iteration 6 [max: 10]
#> 2026-02-10 17:37:43.413182: bru: Preprocessing
#> 2026-02-10 17:37:43.489605: iinla: Iteration 1 [max: 1]
#> 2026-02-10 17:37:47.790213: bru: Preprocessing
format(bru_log())
#> 2026-02-10 17:37:28.928747: inlabru loaded
#> 2026-02-10 17:37:28.929202: Clear override options
#> 2026-02-10 17:37:39.298085: bru: Preprocessing
#> 2026-02-10 17:37:39.31281: Evaluate component inputs for each observation model
#> 2026-02-10 17:37:39.314139: bru_input(bru_comp_list)
#> 2026-02-10 17:37:39.315507: bru_input.bru_comp(x)
#> 2026-02-10 17:37:39.316839: bru_input.bm_pipe(x)
#> 2026-02-10 17:37:39.318307: bru_input.bm_multi(x:mapper)
#> 2026-02-10 17:37:39.319735: bru_input.bru_mapper(x:mapper:main)
#> 2026-02-10 17:37:39.321283: bru_input(bru_input) for (x)
#> 2026-02-10 17:37:39.329391: bru_input.bru_comp(Intercept)
#> 2026-02-10 17:37:39.330721: bru_input.bm_pipe(Intercept)
#> 2026-02-10 17:37:39.332121: bru_input.bm_multi(Intercept:mapper)
#> 2026-02-10 17:37:39.333564: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-02-10 17:37:39.334857: bru_input(bru_input) for (Intercept)
#> 2026-02-10 17:37:39.351454: iinla: Start
#> 2026-02-10 17:37:39.352598: iinla: Evaluate component linearisations
#> 2026-02-10 17:37:39.353749: Linearise components for each observation model
#> 2026-02-10 17:37:39.355265: Linearise component 'x'
#> 2026-02-10 17:37:39.358169: Linearise component 'Intercept'
#> 2026-02-10 17:37:39.360967: iinla: Evaluate component simplifications
#> 2026-02-10 17:37:39.362204: Simplify component mappers for each observation model
#> 2026-02-10 17:37:39.36365: Simplify component 'x'
#> 2026-02-10 17:37:39.366765: Simplify component 'Intercept'
#> 2026-02-10 17:37:39.369726: iinla: Evaluate predictor linearisation
#> 2026-02-10 17:37:39.382869: iinla: Construct inla stack
#> 2026-02-10 17:37:39.411937: iinla: Model initialisation completed
#> 2026-02-10 17:37:39.413999: iinla: Iteration 1 [max: 1]
#> 2026-02-10 17:37:40.103725: iinla: Computation completed
#> 2026-02-10 17:37:40.125658: bru: Preprocessing
#> 2026-02-10 17:37:40.134152: Evaluate component inputs for each observation model
#> 2026-02-10 17:37:40.135413: bru_input(bru_comp_list)
#> 2026-02-10 17:37:40.136728: bru_input.bru_comp(x)
#> 2026-02-10 17:37:40.138253: bru_input.bm_pipe(x)
#> 2026-02-10 17:37:40.139955: bru_input.bm_multi(x:mapper)
#> 2026-02-10 17:37:40.141666: bru_input.bru_mapper(x:mapper:main)
#> 2026-02-10 17:37:40.143287: bru_input(bru_input) for (x)
#> 2026-02-10 17:37:40.151053: bru_input.bru_comp(Intercept)
#> 2026-02-10 17:37:40.152653: bru_input.bm_pipe(Intercept)
#> 2026-02-10 17:37:40.154377: bru_input.bm_multi(Intercept:mapper)
#> 2026-02-10 17:37:40.156085: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-02-10 17:37:40.157649: bru_input(bru_input) for (Intercept)
#> 2026-02-10 17:37:40.172778: iinla: Start
#> 2026-02-10 17:37:40.174139: iinla: Evaluate component linearisations
#> 2026-02-10 17:37:40.175539: Linearise components for each observation model
#> 2026-02-10 17:37:40.17714: Linearise component 'x'
#> 2026-02-10 17:37:40.180358: Linearise component 'Intercept'
#> 2026-02-10 17:37:40.18346: iinla: Evaluate component simplifications
#> 2026-02-10 17:37:40.184854: Simplify component mappers for each observation model
#> 2026-02-10 17:37:40.186474: Simplify component 'x'
#> 2026-02-10 17:37:40.189755: Simplify component 'Intercept'
#> 2026-02-10 17:37:40.193062: iinla: Evaluate predictor linearisation
#> 2026-02-10 17:37:40.200501: iinla: Construct inla stack
#> 2026-02-10 17:37:40.214281: iinla: Model initialisation completed
#> 2026-02-10 17:37:40.215941: iinla: Iteration 1 [max: 1]
#> 2026-02-10 17:37:40.492713: iinla: Computation completed
#> 2026-02-10 17:37:40.516804: bru: Preprocessing
#> 2026-02-10 17:37:40.526453: Evaluate component inputs for each observation model
#> 2026-02-10 17:37:40.52798: bru_input(bru_comp_list)
#> 2026-02-10 17:37:40.529594: bru_input.bru_comp(z)
#> 2026-02-10 17:37:40.531178: bru_input.bm_pipe(z)
#> 2026-02-10 17:37:40.532883: bru_input.bm_multi(z:mapper)
#> 2026-02-10 17:37:40.534641: bru_input.bru_mapper(z:mapper:main)
#> 2026-02-10 17:37:40.536191: bru_input(bru_input) for (z)
#> 2026-02-10 17:37:40.543975: bru_input.bru_comp(Intercept)
#> 2026-02-10 17:37:40.545568: bru_input.bm_pipe(Intercept)
#> 2026-02-10 17:37:40.54727: bru_input.bm_multi(Intercept:mapper)
#> 2026-02-10 17:37:40.548981: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-02-10 17:37:40.550533: bru_input(bru_input) for (Intercept)
#> 2026-02-10 17:37:40.565438: iinla: Start
#> 2026-02-10 17:37:40.566808: iinla: Evaluate component linearisations
#> 2026-02-10 17:37:40.568173: Linearise components for each observation model
#> 2026-02-10 17:37:40.569769: Linearise component 'z'
#> 2026-02-10 17:37:40.57308: Linearise component 'Intercept'
#> 2026-02-10 17:37:40.576196: iinla: Evaluate component simplifications
#> 2026-02-10 17:37:40.577584: Simplify component mappers for each observation model
#> 2026-02-10 17:37:40.579198: Simplify component 'z'
#> 2026-02-10 17:37:40.582944: Simplify component 'Intercept'
#> 2026-02-10 17:37:40.586254: iinla: Evaluate predictor linearisation
#> 2026-02-10 17:37:40.589737: Linearise with respect to component 'z'
#> 2026-02-10 17:37:40.595797: Linearise with respect to component 'Intercept'
#> 2026-02-10 17:37:40.599678: iinla: Construct inla stack
#> 2026-02-10 17:37:40.613477: iinla: Model initialisation completed
#> 2026-02-10 17:37:40.615148: iinla: Iteration 1 [max: 10]
#> 2026-02-10 17:37:40.877284: iinla: Step rescaling: 61.8%, Contract (norm0 = 2398, norm1 = 2207, norm01 = 403.5)
#> 2026-02-10 17:37:40.88026: iinla: Step rescaling: 38.2%, Contract (norm0 = 477.1, norm1 = 350.8, norm01 = 403.5)
#> 2026-02-10 17:37:40.883923: iinla: Step rescaling: 27.01%, Approx Optimisation (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5)
#> 2026-02-10 17:37:40.885536: iinla: |lin1-lin0| = 403.5
#> <eta-lin1,delta>/|delta| = -231
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 123.1
#> 2026-02-10 17:37:40.886979: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5)
#> 2026-02-10 17:37:40.888702: iinla: Evaluate component linearisations
#> 2026-02-10 17:37:40.889852: Linearise components for each observation model
#> 2026-02-10 17:37:40.891233: Linearise component 'z'
#> 2026-02-10 17:37:40.894097: Linearise component 'Intercept'
#> 2026-02-10 17:37:40.896908: iinla: Evaluate predictor linearisation
#> 2026-02-10 17:37:40.899633: Linearise with respect to component 'z'
#> 2026-02-10 17:37:40.903348: Linearise with respect to component 'Intercept'
#> 2026-02-10 17:37:40.916317: iinla: Iteration 2 [max: 10]
#> 2026-02-10 17:37:41.429754: iinla: Step rescaling: 99.5%, Approx Optimisation (norm0 = 260.4, norm1 = 13.93, norm01 = 261.5)
#> 2026-02-10 17:37:41.431253: iinla: |lin1-lin0| = 261.5
#> <eta-lin1,delta>/|delta| = -1.479
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.85
#> 2026-02-10 17:37:41.432616: iinla: Step rescaling: 99.5% (norm0 = 260.4, norm1 = 13.93, norm01 = 261.5)
#> 2026-02-10 17:37:41.434215: iinla: Evaluate component linearisations
#> 2026-02-10 17:37:41.435258: Linearise components for each observation model
#> 2026-02-10 17:37:41.436478: Linearise component 'z'
#> 2026-02-10 17:37:41.439195: Linearise component 'Intercept'
#> 2026-02-10 17:37:41.441814: iinla: Evaluate predictor linearisation
#> 2026-02-10 17:37:41.44433: Linearise with respect to component 'z'
#> 2026-02-10 17:37:41.447715: Linearise with respect to component 'Intercept'
#> 2026-02-10 17:37:41.459046: iinla: Max deviation from previous: 54200% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:41.46134: iinla: Iteration 3 [max: 10]
#> 2026-02-10 17:37:41.713687: iinla: Step rescaling: 162%, Expand (norm0 = 21.92, norm1 = 7.978, norm01 = 13.94)
#> 2026-02-10 17:37:41.716444: iinla: Step rescaling: 100%, Overstep (norm0 = 13.69, norm1 = 0.2467, norm01 = 13.94)
#> 2026-02-10 17:37:41.719851: iinla: Step rescaling: 101.8%, Approx Optimisation (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94)
#> 2026-02-10 17:37:41.721241: iinla: |lin1-lin0| = 13.94
#> <eta-lin1,delta>/|delta| = -5.555e-05
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.02385
#> 2026-02-10 17:37:41.722585: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94)
#> 2026-02-10 17:37:41.724133: iinla: Evaluate component linearisations
#> 2026-02-10 17:37:41.72531: Linearise components for each observation model
#> 2026-02-10 17:37:41.726539: Linearise component 'z'
#> 2026-02-10 17:37:41.729254: Linearise component 'Intercept'
#> 2026-02-10 17:37:41.731886: iinla: Evaluate predictor linearisation
#> 2026-02-10 17:37:41.734387: Linearise with respect to component 'z'
#> 2026-02-10 17:37:41.737728: Linearise with respect to component 'Intercept'
#> 2026-02-10 17:37:41.74907: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:41.751391: iinla: Iteration 4 [max: 10]
#> 2026-02-10 17:37:42.002809: iinla: Step rescaling: 162%, Expand (norm0 = 0.03859, norm1 = 0.01474, norm01 = 0.02385)
#> 2026-02-10 17:37:42.005678: iinla: Step rescaling: 100%, Overstep (norm0 = 0.02385, norm1 = 1.944e-07, norm01 = 0.02385)
#> 2026-02-10 17:37:42.009026: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.02385, norm1 = 1.935e-07, norm01 = 0.02385)
#> 2026-02-10 17:37:42.010414: iinla: |lin1-lin0| = 0.02385
#> <eta-lin1,delta>/|delta| = 3.925e-10
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 1.935e-07
#> 2026-02-10 17:37:42.011984: iinla: Evaluate component linearisations
#> 2026-02-10 17:37:42.013044: Linearise components for each observation model
#> 2026-02-10 17:37:42.014292: Linearise component 'z'
#> 2026-02-10 17:37:42.016924: Linearise component 'Intercept'
#> 2026-02-10 17:37:42.019552: iinla: Evaluate predictor linearisation
#> 2026-02-10 17:37:42.021968: Linearise with respect to component 'z'
#> 2026-02-10 17:37:42.025301: Linearise with respect to component 'Intercept'
#> 2026-02-10 17:37:42.036529: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:42.038837: iinla: Iteration 5 [max: 10]
#> 2026-02-10 17:37:42.300447: iinla: Step rescaling: 162%, Expand (norm0 = 4.042e-07, norm1 = 1.544e-07, norm01 = 2.498e-07)
#> 2026-02-10 17:37:42.303257: iinla: Step rescaling: 100%, Overstep (norm0 = 2.498e-07, norm1 = 1.158e-12, norm01 = 2.498e-07)
#> 2026-02-10 17:37:42.306668: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 2.498e-07, norm1 = 8.124e-13, norm01 = 2.498e-07)
#> 2026-02-10 17:37:42.308071: iinla: |lin1-lin0| = 2.498e-07
#> <eta-lin1,delta>/|delta| = 9.839e-15
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 8.124e-13
#> 2026-02-10 17:37:42.30968: iinla: Evaluate component linearisations
#> 2026-02-10 17:37:42.31075: Linearise components for each observation model
#> 2026-02-10 17:37:42.311989: Linearise component 'z'
#> 2026-02-10 17:37:42.314708: Linearise component 'Intercept'
#> 2026-02-10 17:37:42.317479: iinla: Evaluate predictor linearisation
#> 2026-02-10 17:37:42.319978: Linearise with respect to component 'z'
#> 2026-02-10 17:37:42.32346: Linearise with respect to component 'Intercept'
#> 2026-02-10 17:37:42.334931: iinla: Max deviation from previous: 0.111% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:42.336065: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-02-10 17:37:42.33832: iinla: Iteration 6 [max: 10]
#> 2026-02-10 17:37:42.596726: iinla: Computation completed
#> 2026-02-10 17:37:43.413182: bru: Preprocessing
#> 2026-02-10 17:37:43.422557: Evaluate component inputs for each observation model
#> 2026-02-10 17:37:43.423784: bru_input(bru_comp_list)
#> 2026-02-10 17:37:43.425153: bru_input.bru_comp(field)
#> 2026-02-10 17:37:43.426509: bru_input.bm_pipe(field)
#> 2026-02-10 17:37:43.427897: bru_input.bm_multi(field:mapper)
#> 2026-02-10 17:37:43.429357: bru_input.bru_mapper(field:mapper:main)
#> 2026-02-10 17:37:43.430696: bru_input(bru_input) for (field)
#> 2026-02-10 17:37:43.443668: iinla: Start
#> 2026-02-10 17:37:43.444757: iinla: Evaluate component linearisations
#> 2026-02-10 17:37:43.446025: Linearise components for each observation model
#> 2026-02-10 17:37:43.447327: Linearise component 'field'
#> 2026-02-10 17:37:43.465998: iinla: Evaluate component simplifications
#> 2026-02-10 17:37:43.467206: Simplify component mappers for each observation model
#> 2026-02-10 17:37:43.468489: Simplify component 'field'
#> 2026-02-10 17:37:43.474698: iinla: Evaluate predictor linearisation
#> 2026-02-10 17:37:43.478039: iinla: Construct inla stack
#> 2026-02-10 17:37:43.488277: iinla: Model initialisation completed
#> 2026-02-10 17:37:43.489605: iinla: Iteration 1 [max: 1]
#> 2026-02-10 17:37:43.830474: iinla: Computation completed
#> 2026-02-10 17:37:45.4524: bru_input(bru_comp_list)
#> 2026-02-10 17:37:47.790213: bru: Preprocessing
#> 2026-02-10 17:37:47.80215: Evaluate component inputs for each observation model
#> 2026-02-10 17:37:47.803361: bru_input(bru_comp_list)
#> 2026-02-10 17:37:47.804657: bru_input.bru_comp(x)
#> 2026-02-10 17:37:47.80593: bru_input.bm_pipe(x)
#> 2026-02-10 17:37:47.807339: bru_input.bm_multi(x:mapper)
#> 2026-02-10 17:37:47.808726: bru_input.bru_mapper(x:mapper:main)
#> 2026-02-10 17:37:47.810047: bru_input(bru_input) for (x)
#> 2026-02-10 17:37:47.817568: bru_input(bru_comp_list)
#> 2026-02-10 17:37:47.818902: bru_input.bru_comp(x)
#> 2026-02-10 17:37:47.820291: bru_input.bm_pipe(x)
#> 2026-02-10 17:37:47.821702: bru_input.bm_multi(x:mapper)
#> 2026-02-10 17:37:47.8231: bru_input.bru_mapper(x:mapper:main)
#> 2026-02-10 17:37:47.824356: bru_input(bru_input) for (x)
#> 2026-02-10 17:37:51.552549: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2026-02-10 17:37:28.928747: inlabru loaded
#> 2026-02-10 17:37:28.929202: Clear override options
#> 2026-02-10 17:37:39.298085: bru: Preprocessing
#> 2026-02-10 17:37:39.413999: iinla: Iteration 1 [max: 1]
#> 2026-02-10 17:37:40.125658: bru: Preprocessing
#> 2026-02-10 17:37:40.215941: iinla: Iteration 1 [max: 1]
#> 2026-02-10 17:37:40.516804: bru: Preprocessing
#> 2026-02-10 17:37:40.615148: iinla: Iteration 1 [max: 10]
#> 2026-02-10 17:37:40.886979: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5)
#> 2026-02-10 17:37:40.916317: iinla: Iteration 2 [max: 10]
#> 2026-02-10 17:37:41.432616: iinla: Step rescaling: 99.5% (norm0 = 260.4, norm1 = 13.93, norm01 = 261.5)
#> 2026-02-10 17:37:41.459046: iinla: Max deviation from previous: 54200% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:41.46134: iinla: Iteration 3 [max: 10]
#> 2026-02-10 17:37:41.722585: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94)
#> 2026-02-10 17:37:41.74907: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:41.751391: iinla: Iteration 4 [max: 10]
#> 2026-02-10 17:37:42.036529: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:42.038837: iinla: Iteration 5 [max: 10]
#> 2026-02-10 17:37:42.334931: iinla: Max deviation from previous: 0.111% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-02-10 17:37:42.336065: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-02-10 17:37:42.33832: iinla: Iteration 6 [max: 10]
#> 2026-02-10 17:37:43.413182: bru: Preprocessing
#> 2026-02-10 17:37:43.489605: iinla: Iteration 1 [max: 1]
#> 2026-02-10 17:37:47.790213: bru: Preprocessing
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2026-02-10 17:37:28.928747: inlabru loaded (level 1)
#> 2026-02-10 17:37:28.929202: Clear override options (level 1)
#> 2026-02-10 17:37:39.298085: bru: Preprocessing (level 1)
#> 2026-02-10 17:37:39.31281: Evaluate component inputs for each observation model (level 3)
#> 2026-02-10 17:37:39.314139: bru_input(bru_comp_list) (level 4)
#> 2026-02-10 17:37:39.315507: bru_input.bru_comp(x) (level 4)
#> 2026-02-10 17:37:39.316839: bru_input.bm_pipe(x) (level 5)
#> 2026-02-10 17:37:39.318307: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-02-10 17:37:39.319735: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-02-10 17:37:39.321283: bru_input(bru_input) for (x) (level 5)
#> 2026-02-10 17:37:39.329391: bru_input.bru_comp(Intercept) (level 4)
#> 2026-02-10 17:37:39.330721: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-02-10 17:37:39.332121: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-02-10 17:37:39.333564: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-02-10 17:37:39.334857: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-02-10 17:37:39.351454: iinla: Start (level 3)
#> 2026-02-10 17:37:39.352598: iinla: Evaluate component linearisations (level 3)
#> 2026-02-10 17:37:39.353749: Linearise components for each observation model (level 3)
#> 2026-02-10 17:37:39.355265: Linearise component 'x' (level 4)
#> 2026-02-10 17:37:39.358169: Linearise component 'Intercept' (level 4)
#> 2026-02-10 17:37:39.360967: iinla: Evaluate component simplifications (level 3)
#> 2026-02-10 17:37:39.362204: Simplify component mappers for each observation model (level 3)
#> 2026-02-10 17:37:39.36365: Simplify component 'x' (level 4)
#> 2026-02-10 17:37:39.366765: Simplify component 'Intercept' (level 4)
#> 2026-02-10 17:37:39.369726: iinla: Evaluate predictor linearisation (level 3)
#> 2026-02-10 17:37:39.382869: iinla: Construct inla stack (level 3)
#> 2026-02-10 17:37:39.411937: iinla: Model initialisation completed (level 3)
#> 2026-02-10 17:37:39.413999: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-02-10 17:37:40.103725: iinla: Computation completed (level 3)
#> 2026-02-10 17:37:40.125658: bru: Preprocessing (level 1)
#> 2026-02-10 17:37:40.134152: Evaluate component inputs for each observation model (level 3)
#> 2026-02-10 17:37:40.135413: bru_input(bru_comp_list) (level 4)
#> 2026-02-10 17:37:40.136728: bru_input.bru_comp(x) (level 4)
#> 2026-02-10 17:37:40.138253: bru_input.bm_pipe(x) (level 5)
#> 2026-02-10 17:37:40.139955: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-02-10 17:37:40.141666: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-02-10 17:37:40.143287: bru_input(bru_input) for (x) (level 5)
#> 2026-02-10 17:37:40.151053: bru_input.bru_comp(Intercept) (level 4)
#> 2026-02-10 17:37:40.152653: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-02-10 17:37:40.154377: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-02-10 17:37:40.156085: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-02-10 17:37:40.157649: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-02-10 17:37:40.172778: iinla: Start (level 3)
#> 2026-02-10 17:37:40.174139: iinla: Evaluate component linearisations (level 3)
#> 2026-02-10 17:37:40.175539: Linearise components for each observation model (level 3)
#> 2026-02-10 17:37:40.17714: Linearise component 'x' (level 4)
#> 2026-02-10 17:37:40.180358: Linearise component 'Intercept' (level 4)
#> 2026-02-10 17:37:40.18346: iinla: Evaluate component simplifications (level 3)
#> 2026-02-10 17:37:40.184854: Simplify component mappers for each observation model (level 3)
#> 2026-02-10 17:37:40.186474: Simplify component 'x' (level 4)
#> 2026-02-10 17:37:40.189755: Simplify component 'Intercept' (level 4)
#> 2026-02-10 17:37:40.193062: iinla: Evaluate predictor linearisation (level 3)
#> 2026-02-10 17:37:40.200501: iinla: Construct inla stack (level 3)
#> 2026-02-10 17:37:40.214281: iinla: Model initialisation completed (level 3)
#> 2026-02-10 17:37:40.215941: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-02-10 17:37:40.492713: iinla: Computation completed (level 3)
#> 2026-02-10 17:37:40.516804: bru: Preprocessing (level 1)
#> 2026-02-10 17:37:40.526453: Evaluate component inputs for each observation model (level 3)
#> 2026-02-10 17:37:40.52798: bru_input(bru_comp_list) (level 4)
#> 2026-02-10 17:37:40.529594: bru_input.bru_comp(z) (level 4)
#> 2026-02-10 17:37:40.531178: bru_input.bm_pipe(z) (level 5)
#> 2026-02-10 17:37:40.532883: bru_input.bm_multi(z:mapper) (level 5)
#> 2026-02-10 17:37:40.534641: bru_input.bru_mapper(z:mapper:main) (level 5)
#> 2026-02-10 17:37:40.536191: bru_input(bru_input) for (z) (level 5)
#> 2026-02-10 17:37:40.543975: bru_input.bru_comp(Intercept) (level 4)
#> 2026-02-10 17:37:40.545568: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-02-10 17:37:40.54727: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-02-10 17:37:40.548981: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-02-10 17:37:40.550533: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-02-10 17:37:40.565438: iinla: Start (level 3)
#> 2026-02-10 17:37:40.566808: iinla: Evaluate component linearisations (level 3)
#> 2026-02-10 17:37:40.568173: Linearise components for each observation model (level 3)
#> 2026-02-10 17:37:40.569769: Linearise component 'z' (level 4)
#> 2026-02-10 17:37:40.57308: Linearise component 'Intercept' (level 4)
#> 2026-02-10 17:37:40.576196: iinla: Evaluate component simplifications (level 3)
#> 2026-02-10 17:37:40.577584: Simplify component mappers for each observation model (level 3)
#> 2026-02-10 17:37:40.579198: Simplify component 'z' (level 4)
#> 2026-02-10 17:37:40.582944: Simplify component 'Intercept' (level 4)
#> 2026-02-10 17:37:40.586254: iinla: Evaluate predictor linearisation (level 3)
#> 2026-02-10 17:37:40.589737: Linearise with respect to component 'z' (level 5)
#> 2026-02-10 17:37:40.595797: Linearise with respect to component 'Intercept' (level 5)
#> 2026-02-10 17:37:40.599678: iinla: Construct inla stack (level 3)
#> 2026-02-10 17:37:40.613477: iinla: Model initialisation completed (level 3)
#> 2026-02-10 17:37:40.615148: iinla: Iteration 1 [max: 10] (level 1)
#> 2026-02-10 17:37:40.877284: iinla: Step rescaling: 61.8%, Contract (norm0 = 2398, norm1 = 2207, norm01 = 403.5) (level 3)
#> 2026-02-10 17:37:40.88026: iinla: Step rescaling: 38.2%, Contract (norm0 = 477.1, norm1 = 350.8, norm01 = 403.5) (level 3)
#> 2026-02-10 17:37:40.883923: iinla: Step rescaling: 27.01%, Approx Optimisation (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5) (level 3)
#> 2026-02-10 17:37:40.885536: iinla: |lin1-lin0| = 403.5
#> <eta-lin1,delta>/|delta| = -231
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 123.1 (level 4)
#> 2026-02-10 17:37:40.886979: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5) (level 2)
#> 2026-02-10 17:37:40.888702: iinla: Evaluate component linearisations (level 3)
#> 2026-02-10 17:37:40.889852: Linearise components for each observation model (level 3)
#> 2026-02-10 17:37:40.891233: Linearise component 'z' (level 4)
#> 2026-02-10 17:37:40.894097: Linearise component 'Intercept' (level 4)
#> 2026-02-10 17:37:40.896908: iinla: Evaluate predictor linearisation (level 3)
#> 2026-02-10 17:37:40.899633: Linearise with respect to component 'z' (level 5)
#> 2026-02-10 17:37:40.903348: Linearise with respect to component 'Intercept' (level 5)
#> 2026-02-10 17:37:40.916317: iinla: Iteration 2 [max: 10] (level 1)
#> 2026-02-10 17:37:41.429754: iinla: Step rescaling: 99.5%, Approx Optimisation (norm0 = 260.4, norm1 = 13.93, norm01 = 261.5) (level 3)
#> 2026-02-10 17:37:41.431253: iinla: |lin1-lin0| = 261.5
#> <eta-lin1,delta>/|delta| = -1.479
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.85 (level 4)
#> 2026-02-10 17:37:41.432616: iinla: Step rescaling: 99.5% (norm0 = 260.4, norm1 = 13.93, norm01 = 261.5) (level 2)
#> 2026-02-10 17:37:41.434215: iinla: Evaluate component linearisations (level 3)
#> 2026-02-10 17:37:41.435258: Linearise components for each observation model (level 3)
#> 2026-02-10 17:37:41.436478: Linearise component 'z' (level 4)
#> 2026-02-10 17:37:41.439195: Linearise component 'Intercept' (level 4)
#> 2026-02-10 17:37:41.441814: iinla: Evaluate predictor linearisation (level 3)
#> 2026-02-10 17:37:41.44433: Linearise with respect to component 'z' (level 5)
#> 2026-02-10 17:37:41.447715: Linearise with respect to component 'Intercept' (level 5)
#> 2026-02-10 17:37:41.459046: iinla: Max deviation from previous: 54200% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-02-10 17:37:41.46134: iinla: Iteration 3 [max: 10] (level 1)
#> 2026-02-10 17:37:41.713687: iinla: Step rescaling: 162%, Expand (norm0 = 21.92, norm1 = 7.978, norm01 = 13.94) (level 3)
#> 2026-02-10 17:37:41.716444: iinla: Step rescaling: 100%, Overstep (norm0 = 13.69, norm1 = 0.2467, norm01 = 13.94) (level 3)
#> 2026-02-10 17:37:41.719851: iinla: Step rescaling: 101.8%, Approx Optimisation (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94) (level 3)
#> 2026-02-10 17:37:41.721241: iinla: |lin1-lin0| = 13.94
#> <eta-lin1,delta>/|delta| = -5.555e-05
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.02385 (level 4)
#> 2026-02-10 17:37:41.722585: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94) (level 2)
#> 2026-02-10 17:37:41.724133: iinla: Evaluate component linearisations (level 3)
#> 2026-02-10 17:37:41.72531: Linearise components for each observation model (level 3)
#> 2026-02-10 17:37:41.726539: Linearise component 'z' (level 4)
#> 2026-02-10 17:37:41.729254: Linearise component 'Intercept' (level 4)
#> 2026-02-10 17:37:41.731886: iinla: Evaluate predictor linearisation (level 3)
#> 2026-02-10 17:37:41.734387: Linearise with respect to component 'z' (level 5)
#> 2026-02-10 17:37:41.737728: Linearise with respect to component 'Intercept' (level 5)
#> 2026-02-10 17:37:41.74907: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-02-10 17:37:41.751391: iinla: Iteration 4 [max: 10] (level 1)
#> 2026-02-10 17:37:42.002809: iinla: Step rescaling: 162%, Expand (norm0 = 0.03859, norm1 = 0.01474, norm01 = 0.02385) (level 3)
#> 2026-02-10 17:37:42.005678: iinla: Step rescaling: 100%, Overstep (norm0 = 0.02385, norm1 = 1.944e-07, norm01 = 0.02385) (level 3)
#> 2026-02-10 17:37:42.009026: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.02385, norm1 = 1.935e-07, norm01 = 0.02385) (level 3)
#> 2026-02-10 17:37:42.010414: iinla: |lin1-lin0| = 0.02385
#> <eta-lin1,delta>/|delta| = 3.925e-10
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 1.935e-07 (level 4)
#> 2026-02-10 17:37:42.011984: iinla: Evaluate component linearisations (level 3)
#> 2026-02-10 17:37:42.013044: Linearise components for each observation model (level 3)
#> 2026-02-10 17:37:42.014292: Linearise component 'z' (level 4)
#> 2026-02-10 17:37:42.016924: Linearise component 'Intercept' (level 4)
#> 2026-02-10 17:37:42.019552: iinla: Evaluate predictor linearisation (level 3)
#> 2026-02-10 17:37:42.021968: Linearise with respect to component 'z' (level 5)
#> 2026-02-10 17:37:42.025301: Linearise with respect to component 'Intercept' (level 5)
#> 2026-02-10 17:37:42.036529: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-02-10 17:37:42.038837: iinla: Iteration 5 [max: 10] (level 1)
#> 2026-02-10 17:37:42.300447: iinla: Step rescaling: 162%, Expand (norm0 = 4.042e-07, norm1 = 1.544e-07, norm01 = 2.498e-07) (level 3)
#> 2026-02-10 17:37:42.303257: iinla: Step rescaling: 100%, Overstep (norm0 = 2.498e-07, norm1 = 1.158e-12, norm01 = 2.498e-07) (level 3)
#> 2026-02-10 17:37:42.306668: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 2.498e-07, norm1 = 8.124e-13, norm01 = 2.498e-07) (level 3)
#> 2026-02-10 17:37:42.308071: iinla: |lin1-lin0| = 2.498e-07
#> <eta-lin1,delta>/|delta| = 9.839e-15
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 8.124e-13 (level 4)
#> 2026-02-10 17:37:42.30968: iinla: Evaluate component linearisations (level 3)
#> 2026-02-10 17:37:42.31075: Linearise components for each observation model (level 3)
#> 2026-02-10 17:37:42.311989: Linearise component 'z' (level 4)
#> 2026-02-10 17:37:42.314708: Linearise component 'Intercept' (level 4)
#> 2026-02-10 17:37:42.317479: iinla: Evaluate predictor linearisation (level 3)
#> 2026-02-10 17:37:42.319978: Linearise with respect to component 'z' (level 5)
#> 2026-02-10 17:37:42.32346: Linearise with respect to component 'Intercept' (level 5)
#> 2026-02-10 17:37:42.334931: iinla: Max deviation from previous: 0.111% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-02-10 17:37:42.336065: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2026-02-10 17:37:42.33832: iinla: Iteration 6 [max: 10] (level 1)
#> 2026-02-10 17:37:42.596726: iinla: Computation completed (level 3)
#> 2026-02-10 17:37:43.413182: bru: Preprocessing (level 1)
#> 2026-02-10 17:37:43.422557: Evaluate component inputs for each observation model (level 3)
#> 2026-02-10 17:37:43.423784: bru_input(bru_comp_list) (level 4)
#> 2026-02-10 17:37:43.425153: bru_input.bru_comp(field) (level 4)
#> 2026-02-10 17:37:43.426509: bru_input.bm_pipe(field) (level 5)
#> 2026-02-10 17:37:43.427897: bru_input.bm_multi(field:mapper) (level 5)
#> 2026-02-10 17:37:43.429357: bru_input.bru_mapper(field:mapper:main) (level 5)
#> 2026-02-10 17:37:43.430696: bru_input(bru_input) for (field) (level 5)
#> 2026-02-10 17:37:43.443668: iinla: Start (level 3)
#> 2026-02-10 17:37:43.444757: iinla: Evaluate component linearisations (level 3)
#> 2026-02-10 17:37:43.446025: Linearise components for each observation model (level 3)
#> 2026-02-10 17:37:43.447327: Linearise component 'field' (level 4)
#> 2026-02-10 17:37:43.465998: iinla: Evaluate component simplifications (level 3)
#> 2026-02-10 17:37:43.467206: Simplify component mappers for each observation model (level 3)
#> 2026-02-10 17:37:43.468489: Simplify component 'field' (level 4)
#> 2026-02-10 17:37:43.474698: iinla: Evaluate predictor linearisation (level 3)
#> 2026-02-10 17:37:43.478039: iinla: Construct inla stack (level 3)
#> 2026-02-10 17:37:43.488277: iinla: Model initialisation completed (level 3)
#> 2026-02-10 17:37:43.489605: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-02-10 17:37:43.830474: iinla: Computation completed (level 3)
#> 2026-02-10 17:37:45.4524: bru_input(bru_comp_list) (level 4)
#> 2026-02-10 17:37:47.790213: bru: Preprocessing (level 1)
#> 2026-02-10 17:37:47.80215: Evaluate component inputs for each observation model (level 3)
#> 2026-02-10 17:37:47.803361: bru_input(bru_comp_list) (level 4)
#> 2026-02-10 17:37:47.804657: bru_input.bru_comp(x) (level 4)
#> 2026-02-10 17:37:47.80593: bru_input.bm_pipe(x) (level 5)
#> 2026-02-10 17:37:47.807339: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-02-10 17:37:47.808726: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-02-10 17:37:47.810047: bru_input(bru_input) for (x) (level 5)
#> 2026-02-10 17:37:47.817568: bru_input(bru_comp_list) (level 4)
#> 2026-02-10 17:37:47.818902: bru_input.bru_comp(x) (level 4)
#> 2026-02-10 17:37:47.820291: bru_input.bm_pipe(x) (level 5)
#> 2026-02-10 17:37:47.821702: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-02-10 17:37:47.8231: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-02-10 17:37:47.824356: bru_input(bru_input) for (x) (level 5)
#> 2026-02-10 17:37:51.552549: bru_input(bru_input) for (LABEL) (level 5)