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-01-23 16:21:12.349193: inlabru loaded
#> 2026-01-23 16:21:12.349724: Clear override options
#> 2026-01-23 16:21:23.531998: bru: Preprocessing
#> 2026-01-23 16:21:23.649226: iinla: Iteration 1 [max: 1]
#> 2026-01-23 16:21:24.470094: bru: Preprocessing
#> 2026-01-23 16:21:24.570784: iinla: Iteration 1 [max: 1]
#> 2026-01-23 16:21:24.944618: bru: Preprocessing
#> 2026-01-23 16:21:25.053463: iinla: Iteration 1 [max: 10]
#> 2026-01-23 16:21:25.376098: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.4)
#> 2026-01-23 16:21:25.40587: iinla: Iteration 2 [max: 10]
#> 2026-01-23 16:21:26.00379: iinla: Step rescaling: 99.5% (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7)
#> 2026-01-23 16:21:26.032135: iinla: Max deviation from previous: 54300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:26.034746: iinla: Iteration 3 [max: 10]
#> 2026-01-23 16:21:26.351338: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94)
#> 2026-01-23 16:21:26.380799: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:26.383397: iinla: Iteration 4 [max: 10]
#> 2026-01-23 16:21:26.728228: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:26.730843: iinla: Iteration 5 [max: 10]
#> 2026-01-23 16:21:27.334486: iinla: Max deviation from previous: 0.182% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:27.335822: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-23 16:21:27.338346: iinla: Iteration 6 [max: 10]
#> 2026-01-23 16:21:28.57963: bru: Preprocessing
#> 2026-01-23 16:21:28.645247: iinla: Iteration 1 [max: 1]
#> 2026-01-23 16:21:33.277637: bru: Preprocessing
format(bru_log())
#> 2026-01-23 16:21:12.349193: inlabru loaded
#> 2026-01-23 16:21:12.349724: Clear override options
#> 2026-01-23 16:21:23.531998: bru: Preprocessing
#> 2026-01-23 16:21:23.547143: Evaluate component inputs for each observation model
#> 2026-01-23 16:21:23.548566: bru_input(bru_comp_list)
#> 2026-01-23 16:21:23.550045: bru_input.bru_comp(x)
#> 2026-01-23 16:21:23.551574: bru_input.bm_pipe(x)
#> 2026-01-23 16:21:23.553195: bru_input.bm_multi(x:mapper)
#> 2026-01-23 16:21:23.554753: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-23 16:21:23.556404: bru_input(bru_input) for (x)
#> 2026-01-23 16:21:23.564078: bru_input.bru_comp(Intercept)
#> 2026-01-23 16:21:23.565486: bru_input.bm_pipe(Intercept)
#> 2026-01-23 16:21:23.566992: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-23 16:21:23.568502: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-23 16:21:23.56987: bru_input(bru_input) for (Intercept)
#> 2026-01-23 16:21:23.592726: iinla: Start
#> 2026-01-23 16:21:23.594118: iinla: Evaluate component linearisations
#> 2026-01-23 16:21:23.59561: Linearise components for each observation model
#> 2026-01-23 16:21:23.597158: Linearise component 'x'
#> 2026-01-23 16:21:23.600188: Linearise component 'Intercept'
#> 2026-01-23 16:21:23.603096: iinla: Evaluate component simplifications
#> 2026-01-23 16:21:23.604387: Simplify component mappers for each observation model
#> 2026-01-23 16:21:23.605916: Simplify component 'x'
#> 2026-01-23 16:21:23.609036: Simplify component 'Intercept'
#> 2026-01-23 16:21:23.612075: iinla: Evaluate predictor linearisation
#> 2026-01-23 16:21:23.625779: iinla: Construct inla stack
#> 2026-01-23 16:21:23.647751: iinla: Model initialisation completed
#> 2026-01-23 16:21:23.649226: iinla: Iteration 1 [max: 1]
#> 2026-01-23 16:21:24.443599: iinla: Computation completed
#> 2026-01-23 16:21:24.470094: bru: Preprocessing
#> 2026-01-23 16:21:24.479119: Evaluate component inputs for each observation model
#> 2026-01-23 16:21:24.480656: bru_input(bru_comp_list)
#> 2026-01-23 16:21:24.482595: bru_input.bru_comp(x)
#> 2026-01-23 16:21:24.484514: bru_input.bm_pipe(x)
#> 2026-01-23 16:21:24.486556: bru_input.bm_multi(x:mapper)
#> 2026-01-23 16:21:24.488678: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-23 16:21:24.490511: bru_input(bru_input) for (x)
#> 2026-01-23 16:21:24.498515: bru_input.bru_comp(Intercept)
#> 2026-01-23 16:21:24.500414: bru_input.bm_pipe(Intercept)
#> 2026-01-23 16:21:24.502634: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-23 16:21:24.504676: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-23 16:21:24.506502: bru_input(bru_input) for (Intercept)
#> 2026-01-23 16:21:24.522263: iinla: Start
#> 2026-01-23 16:21:24.523905: iinla: Evaluate component linearisations
#> 2026-01-23 16:21:24.525534: Linearise components for each observation model
#> 2026-01-23 16:21:24.527408: Linearise component 'x'
#> 2026-01-23 16:21:24.531007: Linearise component 'Intercept'
#> 2026-01-23 16:21:24.534456: iinla: Evaluate component simplifications
#> 2026-01-23 16:21:24.53613: Simplify component mappers for each observation model
#> 2026-01-23 16:21:24.537998: Simplify component 'x'
#> 2026-01-23 16:21:24.541794: Simplify component 'Intercept'
#> 2026-01-23 16:21:24.545462: iinla: Evaluate predictor linearisation
#> 2026-01-23 16:21:24.55352: iinla: Construct inla stack
#> 2026-01-23 16:21:24.568877: iinla: Model initialisation completed
#> 2026-01-23 16:21:24.570784: iinla: Iteration 1 [max: 1]
#> 2026-01-23 16:21:24.913811: iinla: Computation completed
#> 2026-01-23 16:21:24.944618: bru: Preprocessing
#> 2026-01-23 16:21:24.955774: Evaluate component inputs for each observation model
#> 2026-01-23 16:21:24.957489: bru_input(bru_comp_list)
#> 2026-01-23 16:21:24.95934: bru_input.bru_comp(z)
#> 2026-01-23 16:21:24.961147: bru_input.bm_pipe(z)
#> 2026-01-23 16:21:24.963151: bru_input.bm_multi(z:mapper)
#> 2026-01-23 16:21:24.965169: bru_input.bru_mapper(z:mapper:main)
#> 2026-01-23 16:21:24.967043: bru_input(bru_input) for (z)
#> 2026-01-23 16:21:24.97483: bru_input.bru_comp(Intercept)
#> 2026-01-23 16:21:24.976702: bru_input.bm_pipe(Intercept)
#> 2026-01-23 16:21:24.978713: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-23 16:21:24.980695: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-23 16:21:24.982507: bru_input(bru_input) for (Intercept)
#> 2026-01-23 16:21:24.997739: iinla: Start
#> 2026-01-23 16:21:24.999358: iinla: Evaluate component linearisations
#> 2026-01-23 16:21:25.000975: Linearise components for each observation model
#> 2026-01-23 16:21:25.002832: Linearise component 'z'
#> 2026-01-23 16:21:25.006485: Linearise component 'Intercept'
#> 2026-01-23 16:21:25.0099: iinla: Evaluate component simplifications
#> 2026-01-23 16:21:25.011503: Simplify component mappers for each observation model
#> 2026-01-23 16:21:25.013371: Simplify component 'z'
#> 2026-01-23 16:21:25.017053: Simplify component 'Intercept'
#> 2026-01-23 16:21:25.02069: iinla: Evaluate predictor linearisation
#> 2026-01-23 16:21:25.024512: Linearise with respect to component 'z'
#> 2026-01-23 16:21:25.031423: Linearise with respect to component 'Intercept'
#> 2026-01-23 16:21:25.035975: iinla: Construct inla stack
#> 2026-01-23 16:21:25.051563: iinla: Model initialisation completed
#> 2026-01-23 16:21:25.053463: iinla: Iteration 1 [max: 10]
#> 2026-01-23 16:21:25.36623: iinla: Step rescaling: 61.8%, Contract (norm0 = 2398, norm1 = 2207, norm01 = 403.4)
#> 2026-01-23 16:21:25.369178: iinla: Step rescaling: 38.2%, Contract (norm0 = 477.1, norm1 = 350.8, norm01 = 403.4)
#> 2026-01-23 16:21:25.373041: iinla: Step rescaling: 27.01%, Approx Optimisation (norm0 = 211.9, norm1 = 261.7, norm01 = 403.4)
#> 2026-01-23 16:21:25.374598: iinla: |lin1-lin0| = 403.4
#> <eta-lin1,delta>/|delta| = -230.9
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 123
#> 2026-01-23 16:21:25.376098: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.4)
#> 2026-01-23 16:21:25.377867: iinla: Evaluate component linearisations
#> 2026-01-23 16:21:25.379081: Linearise components for each observation model
#> 2026-01-23 16:21:25.380532: Linearise component 'z'
#> 2026-01-23 16:21:25.383456: Linearise component 'Intercept'
#> 2026-01-23 16:21:25.386289: iinla: Evaluate predictor linearisation
#> 2026-01-23 16:21:25.388978: Linearise with respect to component 'z'
#> 2026-01-23 16:21:25.392621: Linearise with respect to component 'Intercept'
#> 2026-01-23 16:21:25.40587: iinla: Iteration 2 [max: 10]
#> 2026-01-23 16:21:26.000673: iinla: Step rescaling: 99.5%, Approx Optimisation (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7)
#> 2026-01-23 16:21:26.0023: iinla: |lin1-lin0| = 261.7
#> <eta-lin1,delta>/|delta| = -1.48
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.87
#> 2026-01-23 16:21:26.00379: iinla: Step rescaling: 99.5% (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7)
#> 2026-01-23 16:21:26.005533: iinla: Evaluate component linearisations
#> 2026-01-23 16:21:26.006682: Linearise components for each observation model
#> 2026-01-23 16:21:26.008034: Linearise component 'z'
#> 2026-01-23 16:21:26.011038: Linearise component 'Intercept'
#> 2026-01-23 16:21:26.013836: iinla: Evaluate predictor linearisation
#> 2026-01-23 16:21:26.016616: Linearise with respect to component 'z'
#> 2026-01-23 16:21:26.020172: Linearise with respect to component 'Intercept'
#> 2026-01-23 16:21:26.032135: iinla: Max deviation from previous: 54300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:26.034746: iinla: Iteration 3 [max: 10]
#> 2026-01-23 16:21:26.341561: iinla: Step rescaling: 162%, Expand (norm0 = 21.92, norm1 = 7.978, norm01 = 13.94)
#> 2026-01-23 16:21:26.344487: iinla: Step rescaling: 100%, Overstep (norm0 = 13.7, norm1 = 0.2467, norm01 = 13.94)
#> 2026-01-23 16:21:26.348075: iinla: Step rescaling: 101.8%, Approx Optimisation (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94)
#> 2026-01-23 16:21:26.34979: iinla: |lin1-lin0| = 13.94
#> <eta-lin1,delta>/|delta| = -5.555e-05
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.02385
#> 2026-01-23 16:21:26.351338: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94)
#> 2026-01-23 16:21:26.353175: iinla: Evaluate component linearisations
#> 2026-01-23 16:21:26.354424: Linearise components for each observation model
#> 2026-01-23 16:21:26.355902: Linearise component 'z'
#> 2026-01-23 16:21:26.359078: Linearise component 'Intercept'
#> 2026-01-23 16:21:26.361988: iinla: Evaluate predictor linearisation
#> 2026-01-23 16:21:26.364816: Linearise with respect to component 'z'
#> 2026-01-23 16:21:26.368495: Linearise with respect to component 'Intercept'
#> 2026-01-23 16:21:26.380799: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:26.383397: iinla: Iteration 4 [max: 10]
#> 2026-01-23 16:21:26.691028: iinla: Step rescaling: 162%, Expand (norm0 = 0.03858, norm1 = 0.01474, norm01 = 0.02384)
#> 2026-01-23 16:21:26.693966: iinla: Step rescaling: 100%, Overstep (norm0 = 0.02384, norm1 = 1.944e-07, norm01 = 0.02384)
#> 2026-01-23 16:21:26.697659: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.02384, norm1 = 1.935e-07, norm01 = 0.02384)
#> 2026-01-23 16:21:26.699197: iinla: |lin1-lin0| = 0.02384
#> <eta-lin1,delta>/|delta| = 3.924e-10
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 1.935e-07
#> 2026-01-23 16:21:26.700997: iinla: Evaluate component linearisations
#> 2026-01-23 16:21:26.702427: Linearise components for each observation model
#> 2026-01-23 16:21:26.703846: Linearise component 'z'
#> 2026-01-23 16:21:26.70679: Linearise component 'Intercept'
#> 2026-01-23 16:21:26.709624: iinla: Evaluate predictor linearisation
#> 2026-01-23 16:21:26.712288: Linearise with respect to component 'z'
#> 2026-01-23 16:21:26.716004: Linearise with respect to component 'Intercept'
#> 2026-01-23 16:21:26.728228: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:26.730843: iinla: Iteration 5 [max: 10]
#> 2026-01-23 16:21:27.297611: iinla: Step rescaling: 162%, Expand (norm0 = 6.461e-07, norm1 = 2.468e-07, norm01 = 3.993e-07)
#> 2026-01-23 16:21:27.300579: iinla: Step rescaling: 100%, Overstep (norm0 = 3.993e-07, norm1 = 5.707e-13, norm01 = 3.993e-07)
#> 2026-01-23 16:21:27.304065: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 3.993e-07, norm1 = 4.09e-13, norm01 = 3.993e-07)
#> 2026-01-23 16:21:27.305567: iinla: |lin1-lin0| = 3.993e-07
#> <eta-lin1,delta>/|delta| = 1.301e-14
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 4.088e-13
#> 2026-01-23 16:21:27.307279: iinla: Evaluate component linearisations
#> 2026-01-23 16:21:27.308459: Linearise components for each observation model
#> 2026-01-23 16:21:27.309805: Linearise component 'z'
#> 2026-01-23 16:21:27.312754: Linearise component 'Intercept'
#> 2026-01-23 16:21:27.31562: iinla: Evaluate predictor linearisation
#> 2026-01-23 16:21:27.318461: Linearise with respect to component 'z'
#> 2026-01-23 16:21:27.322152: Linearise with respect to component 'Intercept'
#> 2026-01-23 16:21:27.334486: iinla: Max deviation from previous: 0.182% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:27.335822: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-23 16:21:27.338346: iinla: Iteration 6 [max: 10]
#> 2026-01-23 16:21:27.652082: iinla: Computation completed
#> 2026-01-23 16:21:28.57963: bru: Preprocessing
#> 2026-01-23 16:21:28.589218: Evaluate component inputs for each observation model
#> 2026-01-23 16:21:28.590492: bru_input(bru_comp_list)
#> 2026-01-23 16:21:28.591825: bru_input.bru_comp(field)
#> 2026-01-23 16:21:28.593158: bru_input.bm_pipe(field)
#> 2026-01-23 16:21:28.594642: bru_input.bm_multi(field:mapper)
#> 2026-01-23 16:21:28.596135: bru_input.bru_mapper(field:mapper:main)
#> 2026-01-23 16:21:28.597452: bru_input(bru_input) for (field)
#> 2026-01-23 16:21:28.610096: iinla: Start
#> 2026-01-23 16:21:28.611268: iinla: Evaluate component linearisations
#> 2026-01-23 16:21:28.612444: Linearise components for each observation model
#> 2026-01-23 16:21:28.613763: Linearise component 'field'
#> 2026-01-23 16:21:28.620997: iinla: Evaluate component simplifications
#> 2026-01-23 16:21:28.62221: Simplify component mappers for each observation model
#> 2026-01-23 16:21:28.623594: Simplify component 'field'
#> 2026-01-23 16:21:28.630023: iinla: Evaluate predictor linearisation
#> 2026-01-23 16:21:28.633539: iinla: Construct inla stack
#> 2026-01-23 16:21:28.643857: iinla: Model initialisation completed
#> 2026-01-23 16:21:28.645247: iinla: Iteration 1 [max: 1]
#> 2026-01-23 16:21:29.059975: iinla: Computation completed
#> 2026-01-23 16:21:30.920542: bru_input(bru_comp_list)
#> 2026-01-23 16:21:33.277637: bru: Preprocessing
#> 2026-01-23 16:21:33.290721: Evaluate component inputs for each observation model
#> 2026-01-23 16:21:33.291994: bru_input(bru_comp_list)
#> 2026-01-23 16:21:33.2934: bru_input.bru_comp(x)
#> 2026-01-23 16:21:33.294811: bru_input.bm_pipe(x)
#> 2026-01-23 16:21:33.296354: bru_input.bm_multi(x:mapper)
#> 2026-01-23 16:21:33.297841: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-23 16:21:33.299186: bru_input(bru_input) for (x)
#> 2026-01-23 16:21:33.306737: bru_input(bru_comp_list)
#> 2026-01-23 16:21:33.308153: bru_input.bru_comp(x)
#> 2026-01-23 16:21:33.309512: bru_input.bm_pipe(x)
#> 2026-01-23 16:21:33.310978: bru_input.bm_multi(x:mapper)
#> 2026-01-23 16:21:33.312473: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-23 16:21:33.313799: bru_input(bru_input) for (x)
#> 2026-01-23 16:22:06.79547: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2026-01-23 16:21:12.349193: inlabru loaded
#> 2026-01-23 16:21:12.349724: Clear override options
#> 2026-01-23 16:21:23.531998: bru: Preprocessing
#> 2026-01-23 16:21:23.649226: iinla: Iteration 1 [max: 1]
#> 2026-01-23 16:21:24.470094: bru: Preprocessing
#> 2026-01-23 16:21:24.570784: iinla: Iteration 1 [max: 1]
#> 2026-01-23 16:21:24.944618: bru: Preprocessing
#> 2026-01-23 16:21:25.053463: iinla: Iteration 1 [max: 10]
#> 2026-01-23 16:21:25.376098: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.4)
#> 2026-01-23 16:21:25.40587: iinla: Iteration 2 [max: 10]
#> 2026-01-23 16:21:26.00379: iinla: Step rescaling: 99.5% (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7)
#> 2026-01-23 16:21:26.032135: iinla: Max deviation from previous: 54300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:26.034746: iinla: Iteration 3 [max: 10]
#> 2026-01-23 16:21:26.351338: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94)
#> 2026-01-23 16:21:26.380799: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:26.383397: iinla: Iteration 4 [max: 10]
#> 2026-01-23 16:21:26.728228: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:26.730843: iinla: Iteration 5 [max: 10]
#> 2026-01-23 16:21:27.334486: iinla: Max deviation from previous: 0.182% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-23 16:21:27.335822: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-23 16:21:27.338346: iinla: Iteration 6 [max: 10]
#> 2026-01-23 16:21:28.57963: bru: Preprocessing
#> 2026-01-23 16:21:28.645247: iinla: Iteration 1 [max: 1]
#> 2026-01-23 16:21:33.277637: bru: Preprocessing
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2026-01-23 16:21:12.349193: inlabru loaded (level 1)
#> 2026-01-23 16:21:12.349724: Clear override options (level 1)
#> 2026-01-23 16:21:23.531998: bru: Preprocessing (level 1)
#> 2026-01-23 16:21:23.547143: Evaluate component inputs for each observation model (level 3)
#> 2026-01-23 16:21:23.548566: bru_input(bru_comp_list) (level 4)
#> 2026-01-23 16:21:23.550045: bru_input.bru_comp(x) (level 4)
#> 2026-01-23 16:21:23.551574: bru_input.bm_pipe(x) (level 5)
#> 2026-01-23 16:21:23.553195: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-23 16:21:23.554753: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-23 16:21:23.556404: bru_input(bru_input) for (x) (level 5)
#> 2026-01-23 16:21:23.564078: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-23 16:21:23.565486: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-23 16:21:23.566992: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-23 16:21:23.568502: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-23 16:21:23.56987: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-23 16:21:23.592726: iinla: Start (level 3)
#> 2026-01-23 16:21:23.594118: iinla: Evaluate component linearisations (level 3)
#> 2026-01-23 16:21:23.59561: Linearise components for each observation model (level 3)
#> 2026-01-23 16:21:23.597158: Linearise component 'x' (level 4)
#> 2026-01-23 16:21:23.600188: Linearise component 'Intercept' (level 4)
#> 2026-01-23 16:21:23.603096: iinla: Evaluate component simplifications (level 3)
#> 2026-01-23 16:21:23.604387: Simplify component mappers for each observation model (level 3)
#> 2026-01-23 16:21:23.605916: Simplify component 'x' (level 4)
#> 2026-01-23 16:21:23.609036: Simplify component 'Intercept' (level 4)
#> 2026-01-23 16:21:23.612075: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-23 16:21:23.625779: iinla: Construct inla stack (level 3)
#> 2026-01-23 16:21:23.647751: iinla: Model initialisation completed (level 3)
#> 2026-01-23 16:21:23.649226: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-23 16:21:24.443599: iinla: Computation completed (level 3)
#> 2026-01-23 16:21:24.470094: bru: Preprocessing (level 1)
#> 2026-01-23 16:21:24.479119: Evaluate component inputs for each observation model (level 3)
#> 2026-01-23 16:21:24.480656: bru_input(bru_comp_list) (level 4)
#> 2026-01-23 16:21:24.482595: bru_input.bru_comp(x) (level 4)
#> 2026-01-23 16:21:24.484514: bru_input.bm_pipe(x) (level 5)
#> 2026-01-23 16:21:24.486556: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-23 16:21:24.488678: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-23 16:21:24.490511: bru_input(bru_input) for (x) (level 5)
#> 2026-01-23 16:21:24.498515: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-23 16:21:24.500414: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-23 16:21:24.502634: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-23 16:21:24.504676: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-23 16:21:24.506502: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-23 16:21:24.522263: iinla: Start (level 3)
#> 2026-01-23 16:21:24.523905: iinla: Evaluate component linearisations (level 3)
#> 2026-01-23 16:21:24.525534: Linearise components for each observation model (level 3)
#> 2026-01-23 16:21:24.527408: Linearise component 'x' (level 4)
#> 2026-01-23 16:21:24.531007: Linearise component 'Intercept' (level 4)
#> 2026-01-23 16:21:24.534456: iinla: Evaluate component simplifications (level 3)
#> 2026-01-23 16:21:24.53613: Simplify component mappers for each observation model (level 3)
#> 2026-01-23 16:21:24.537998: Simplify component 'x' (level 4)
#> 2026-01-23 16:21:24.541794: Simplify component 'Intercept' (level 4)
#> 2026-01-23 16:21:24.545462: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-23 16:21:24.55352: iinla: Construct inla stack (level 3)
#> 2026-01-23 16:21:24.568877: iinla: Model initialisation completed (level 3)
#> 2026-01-23 16:21:24.570784: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-23 16:21:24.913811: iinla: Computation completed (level 3)
#> 2026-01-23 16:21:24.944618: bru: Preprocessing (level 1)
#> 2026-01-23 16:21:24.955774: Evaluate component inputs for each observation model (level 3)
#> 2026-01-23 16:21:24.957489: bru_input(bru_comp_list) (level 4)
#> 2026-01-23 16:21:24.95934: bru_input.bru_comp(z) (level 4)
#> 2026-01-23 16:21:24.961147: bru_input.bm_pipe(z) (level 5)
#> 2026-01-23 16:21:24.963151: bru_input.bm_multi(z:mapper) (level 5)
#> 2026-01-23 16:21:24.965169: bru_input.bru_mapper(z:mapper:main) (level 5)
#> 2026-01-23 16:21:24.967043: bru_input(bru_input) for (z) (level 5)
#> 2026-01-23 16:21:24.97483: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-23 16:21:24.976702: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-23 16:21:24.978713: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-23 16:21:24.980695: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-23 16:21:24.982507: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-23 16:21:24.997739: iinla: Start (level 3)
#> 2026-01-23 16:21:24.999358: iinla: Evaluate component linearisations (level 3)
#> 2026-01-23 16:21:25.000975: Linearise components for each observation model (level 3)
#> 2026-01-23 16:21:25.002832: Linearise component 'z' (level 4)
#> 2026-01-23 16:21:25.006485: Linearise component 'Intercept' (level 4)
#> 2026-01-23 16:21:25.0099: iinla: Evaluate component simplifications (level 3)
#> 2026-01-23 16:21:25.011503: Simplify component mappers for each observation model (level 3)
#> 2026-01-23 16:21:25.013371: Simplify component 'z' (level 4)
#> 2026-01-23 16:21:25.017053: Simplify component 'Intercept' (level 4)
#> 2026-01-23 16:21:25.02069: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-23 16:21:25.024512: Linearise with respect to component 'z' (level 5)
#> 2026-01-23 16:21:25.031423: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-23 16:21:25.035975: iinla: Construct inla stack (level 3)
#> 2026-01-23 16:21:25.051563: iinla: Model initialisation completed (level 3)
#> 2026-01-23 16:21:25.053463: iinla: Iteration 1 [max: 10] (level 1)
#> 2026-01-23 16:21:25.36623: iinla: Step rescaling: 61.8%, Contract (norm0 = 2398, norm1 = 2207, norm01 = 403.4) (level 3)
#> 2026-01-23 16:21:25.369178: iinla: Step rescaling: 38.2%, Contract (norm0 = 477.1, norm1 = 350.8, norm01 = 403.4) (level 3)
#> 2026-01-23 16:21:25.373041: iinla: Step rescaling: 27.01%, Approx Optimisation (norm0 = 211.9, norm1 = 261.7, norm01 = 403.4) (level 3)
#> 2026-01-23 16:21:25.374598: iinla: |lin1-lin0| = 403.4
#> <eta-lin1,delta>/|delta| = -230.9
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 123 (level 4)
#> 2026-01-23 16:21:25.376098: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.4) (level 2)
#> 2026-01-23 16:21:25.377867: iinla: Evaluate component linearisations (level 3)
#> 2026-01-23 16:21:25.379081: Linearise components for each observation model (level 3)
#> 2026-01-23 16:21:25.380532: Linearise component 'z' (level 4)
#> 2026-01-23 16:21:25.383456: Linearise component 'Intercept' (level 4)
#> 2026-01-23 16:21:25.386289: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-23 16:21:25.388978: Linearise with respect to component 'z' (level 5)
#> 2026-01-23 16:21:25.392621: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-23 16:21:25.40587: iinla: Iteration 2 [max: 10] (level 1)
#> 2026-01-23 16:21:26.000673: iinla: Step rescaling: 99.5%, Approx Optimisation (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7) (level 3)
#> 2026-01-23 16:21:26.0023: iinla: |lin1-lin0| = 261.7
#> <eta-lin1,delta>/|delta| = -1.48
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.87 (level 4)
#> 2026-01-23 16:21:26.00379: iinla: Step rescaling: 99.5% (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7) (level 2)
#> 2026-01-23 16:21:26.005533: iinla: Evaluate component linearisations (level 3)
#> 2026-01-23 16:21:26.006682: Linearise components for each observation model (level 3)
#> 2026-01-23 16:21:26.008034: Linearise component 'z' (level 4)
#> 2026-01-23 16:21:26.011038: Linearise component 'Intercept' (level 4)
#> 2026-01-23 16:21:26.013836: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-23 16:21:26.016616: Linearise with respect to component 'z' (level 5)
#> 2026-01-23 16:21:26.020172: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-23 16:21:26.032135: iinla: Max deviation from previous: 54300% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-23 16:21:26.034746: iinla: Iteration 3 [max: 10] (level 1)
#> 2026-01-23 16:21:26.341561: iinla: Step rescaling: 162%, Expand (norm0 = 21.92, norm1 = 7.978, norm01 = 13.94) (level 3)
#> 2026-01-23 16:21:26.344487: iinla: Step rescaling: 100%, Overstep (norm0 = 13.7, norm1 = 0.2467, norm01 = 13.94) (level 3)
#> 2026-01-23 16:21:26.348075: iinla: Step rescaling: 101.8%, Approx Optimisation (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94) (level 3)
#> 2026-01-23 16:21:26.34979: 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-01-23 16:21:26.351338: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02385, norm01 = 13.94) (level 2)
#> 2026-01-23 16:21:26.353175: iinla: Evaluate component linearisations (level 3)
#> 2026-01-23 16:21:26.354424: Linearise components for each observation model (level 3)
#> 2026-01-23 16:21:26.355902: Linearise component 'z' (level 4)
#> 2026-01-23 16:21:26.359078: Linearise component 'Intercept' (level 4)
#> 2026-01-23 16:21:26.361988: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-23 16:21:26.364816: Linearise with respect to component 'z' (level 5)
#> 2026-01-23 16:21:26.368495: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-23 16:21:26.380799: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-23 16:21:26.383397: iinla: Iteration 4 [max: 10] (level 1)
#> 2026-01-23 16:21:26.691028: iinla: Step rescaling: 162%, Expand (norm0 = 0.03858, norm1 = 0.01474, norm01 = 0.02384) (level 3)
#> 2026-01-23 16:21:26.693966: iinla: Step rescaling: 100%, Overstep (norm0 = 0.02384, norm1 = 1.944e-07, norm01 = 0.02384) (level 3)
#> 2026-01-23 16:21:26.697659: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.02384, norm1 = 1.935e-07, norm01 = 0.02384) (level 3)
#> 2026-01-23 16:21:26.699197: iinla: |lin1-lin0| = 0.02384
#> <eta-lin1,delta>/|delta| = 3.924e-10
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 1.935e-07 (level 4)
#> 2026-01-23 16:21:26.700997: iinla: Evaluate component linearisations (level 3)
#> 2026-01-23 16:21:26.702427: Linearise components for each observation model (level 3)
#> 2026-01-23 16:21:26.703846: Linearise component 'z' (level 4)
#> 2026-01-23 16:21:26.70679: Linearise component 'Intercept' (level 4)
#> 2026-01-23 16:21:26.709624: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-23 16:21:26.712288: Linearise with respect to component 'z' (level 5)
#> 2026-01-23 16:21:26.716004: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-23 16:21:26.728228: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-23 16:21:26.730843: iinla: Iteration 5 [max: 10] (level 1)
#> 2026-01-23 16:21:27.297611: iinla: Step rescaling: 162%, Expand (norm0 = 6.461e-07, norm1 = 2.468e-07, norm01 = 3.993e-07) (level 3)
#> 2026-01-23 16:21:27.300579: iinla: Step rescaling: 100%, Overstep (norm0 = 3.993e-07, norm1 = 5.707e-13, norm01 = 3.993e-07) (level 3)
#> 2026-01-23 16:21:27.304065: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 3.993e-07, norm1 = 4.09e-13, norm01 = 3.993e-07) (level 3)
#> 2026-01-23 16:21:27.305567: iinla: |lin1-lin0| = 3.993e-07
#> <eta-lin1,delta>/|delta| = 1.301e-14
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 4.088e-13 (level 4)
#> 2026-01-23 16:21:27.307279: iinla: Evaluate component linearisations (level 3)
#> 2026-01-23 16:21:27.308459: Linearise components for each observation model (level 3)
#> 2026-01-23 16:21:27.309805: Linearise component 'z' (level 4)
#> 2026-01-23 16:21:27.312754: Linearise component 'Intercept' (level 4)
#> 2026-01-23 16:21:27.31562: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-23 16:21:27.318461: Linearise with respect to component 'z' (level 5)
#> 2026-01-23 16:21:27.322152: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-23 16:21:27.334486: iinla: Max deviation from previous: 0.182% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-23 16:21:27.335822: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2026-01-23 16:21:27.338346: iinla: Iteration 6 [max: 10] (level 1)
#> 2026-01-23 16:21:27.652082: iinla: Computation completed (level 3)
#> 2026-01-23 16:21:28.57963: bru: Preprocessing (level 1)
#> 2026-01-23 16:21:28.589218: Evaluate component inputs for each observation model (level 3)
#> 2026-01-23 16:21:28.590492: bru_input(bru_comp_list) (level 4)
#> 2026-01-23 16:21:28.591825: bru_input.bru_comp(field) (level 4)
#> 2026-01-23 16:21:28.593158: bru_input.bm_pipe(field) (level 5)
#> 2026-01-23 16:21:28.594642: bru_input.bm_multi(field:mapper) (level 5)
#> 2026-01-23 16:21:28.596135: bru_input.bru_mapper(field:mapper:main) (level 5)
#> 2026-01-23 16:21:28.597452: bru_input(bru_input) for (field) (level 5)
#> 2026-01-23 16:21:28.610096: iinla: Start (level 3)
#> 2026-01-23 16:21:28.611268: iinla: Evaluate component linearisations (level 3)
#> 2026-01-23 16:21:28.612444: Linearise components for each observation model (level 3)
#> 2026-01-23 16:21:28.613763: Linearise component 'field' (level 4)
#> 2026-01-23 16:21:28.620997: iinla: Evaluate component simplifications (level 3)
#> 2026-01-23 16:21:28.62221: Simplify component mappers for each observation model (level 3)
#> 2026-01-23 16:21:28.623594: Simplify component 'field' (level 4)
#> 2026-01-23 16:21:28.630023: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-23 16:21:28.633539: iinla: Construct inla stack (level 3)
#> 2026-01-23 16:21:28.643857: iinla: Model initialisation completed (level 3)
#> 2026-01-23 16:21:28.645247: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-23 16:21:29.059975: iinla: Computation completed (level 3)
#> 2026-01-23 16:21:30.920542: bru_input(bru_comp_list) (level 4)
#> 2026-01-23 16:21:33.277637: bru: Preprocessing (level 1)
#> 2026-01-23 16:21:33.290721: Evaluate component inputs for each observation model (level 3)
#> 2026-01-23 16:21:33.291994: bru_input(bru_comp_list) (level 4)
#> 2026-01-23 16:21:33.2934: bru_input.bru_comp(x) (level 4)
#> 2026-01-23 16:21:33.294811: bru_input.bm_pipe(x) (level 5)
#> 2026-01-23 16:21:33.296354: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-23 16:21:33.297841: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-23 16:21:33.299186: bru_input(bru_input) for (x) (level 5)
#> 2026-01-23 16:21:33.306737: bru_input(bru_comp_list) (level 4)
#> 2026-01-23 16:21:33.308153: bru_input.bru_comp(x) (level 4)
#> 2026-01-23 16:21:33.309512: bru_input.bm_pipe(x) (level 5)
#> 2026-01-23 16:21:33.310978: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-23 16:21:33.312473: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-23 16:21:33.313799: bru_input(bru_input) for (x) (level 5)
#> 2026-01-23 16:22:06.79547: bru_input(bru_input) for (LABEL) (level 5)