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-22 18:09:57.630058: inlabru loaded
#> 2026-01-22 18:09:57.630521: Clear override options
#> 2026-01-22 18:10:09.214492: bru: Preprocessing
#> 2026-01-22 18:10:09.337731: iinla: Iteration 1 [max: 1]
#> 2026-01-22 18:10:10.148142: bru: Preprocessing
#> 2026-01-22 18:10:10.253335: iinla: Iteration 1 [max: 1]
#> 2026-01-22 18:10:10.642429: bru: Preprocessing
#> 2026-01-22 18:10:10.754655: iinla: Iteration 1 [max: 10]
#> 2026-01-22 18:10:11.085021: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2026-01-22 18:10:11.11564: iinla: Iteration 2 [max: 10]
#> 2026-01-22 18:10:11.747665: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2026-01-22 18:10:11.776411: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-22 18:10:11.779005: iinla: Iteration 3 [max: 10]
#> 2026-01-22 18:10:12.094991: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2026-01-22 18:10:12.124243: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-22 18:10:12.126893: iinla: Iteration 4 [max: 10]
#> 2026-01-22 18:10:12.479819: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-22 18:10:12.481328: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-22 18:10:12.484119: iinla: Iteration 5 [max: 10]
#> 2026-01-22 18:10:14.017398: bru: Preprocessing
#> 2026-01-22 18:10:14.094057: iinla: Iteration 1 [max: 1]
#> 2026-01-22 18:10:19.120657: bru: Preprocessing
#> 2026-01-22 18:10:19.213213: iinla: Iteration 1 [max: 1]
format(bru_log())
#> 2026-01-22 18:09:57.630058: inlabru loaded
#> 2026-01-22 18:09:57.630521: Clear override options
#> 2026-01-22 18:10:09.214492: bru: Preprocessing
#> 2026-01-22 18:10:09.229755: Evaluate component inputs for each observation model
#> 2026-01-22 18:10:09.231193: bru_input(bru_comp_list)
#> 2026-01-22 18:10:09.232668: bru_input.bru_comp(x)
#> 2026-01-22 18:10:09.234113: bru_input.bm_pipe(x)
#> 2026-01-22 18:10:09.235774: bru_input.bm_multi(x:mapper)
#> 2026-01-22 18:10:09.23737: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-22 18:10:09.239021: bru_input(bru_input) for (x)
#> 2026-01-22 18:10:09.247739: bru_input.bru_comp(Intercept)
#> 2026-01-22 18:10:09.249176: bru_input.bm_pipe(Intercept)
#> 2026-01-22 18:10:09.250722: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-22 18:10:09.252248: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-22 18:10:09.253613: bru_input(bru_input) for (Intercept)
#> 2026-01-22 18:10:09.278623: iinla: Start
#> 2026-01-22 18:10:09.280652: iinla: Evaluate component linearisations
#> 2026-01-22 18:10:09.28214: Linearise components for each observation model
#> 2026-01-22 18:10:09.284005: Linearise component 'x'
#> 2026-01-22 18:10:09.287238: Linearise component 'Intercept'
#> 2026-01-22 18:10:09.290142: iinla: Evaluate component simplifications
#> 2026-01-22 18:10:09.291535: Simplify component mappers for each observation model
#> 2026-01-22 18:10:09.293128: Simplify component 'x'
#> 2026-01-22 18:10:09.296417: Simplify component 'Intercept'
#> 2026-01-22 18:10:09.299525: iinla: Evaluate predictor linearisation
#> 2026-01-22 18:10:09.313576: iinla: Construct inla stack
#> 2026-01-22 18:10:09.336145: iinla: Model initialisation completed
#> 2026-01-22 18:10:09.337731: iinla: Iteration 1 [max: 1]
#> 2026-01-22 18:10:10.121144: iinla: Computation completed
#> 2026-01-22 18:10:10.148142: bru: Preprocessing
#> 2026-01-22 18:10:10.157264: Evaluate component inputs for each observation model
#> 2026-01-22 18:10:10.158711: bru_input(bru_comp_list)
#> 2026-01-22 18:10:10.160542: bru_input.bru_comp(x)
#> 2026-01-22 18:10:10.162361: bru_input.bm_pipe(x)
#> 2026-01-22 18:10:10.164379: bru_input.bm_multi(x:mapper)
#> 2026-01-22 18:10:10.166387: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-22 18:10:10.168218: bru_input(bru_input) for (x)
#> 2026-01-22 18:10:10.177017: bru_input.bru_comp(Intercept)
#> 2026-01-22 18:10:10.178941: bru_input.bm_pipe(Intercept)
#> 2026-01-22 18:10:10.180983: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-22 18:10:10.182982: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-22 18:10:10.184796: bru_input(bru_input) for (Intercept)
#> 2026-01-22 18:10:10.202752: iinla: Start
#> 2026-01-22 18:10:10.204402: iinla: Evaluate component linearisations
#> 2026-01-22 18:10:10.206051: Linearise components for each observation model
#> 2026-01-22 18:10:10.207938: Linearise component 'x'
#> 2026-01-22 18:10:10.2117: Linearise component 'Intercept'
#> 2026-01-22 18:10:10.215232: iinla: Evaluate component simplifications
#> 2026-01-22 18:10:10.216884: Simplify component mappers for each observation model
#> 2026-01-22 18:10:10.218852: Simplify component 'x'
#> 2026-01-22 18:10:10.222808: Simplify component 'Intercept'
#> 2026-01-22 18:10:10.226649: iinla: Evaluate predictor linearisation
#> 2026-01-22 18:10:10.235113: iinla: Construct inla stack
#> 2026-01-22 18:10:10.25131: iinla: Model initialisation completed
#> 2026-01-22 18:10:10.253335: iinla: Iteration 1 [max: 1]
#> 2026-01-22 18:10:10.608428: iinla: Computation completed
#> 2026-01-22 18:10:10.642429: bru: Preprocessing
#> 2026-01-22 18:10:10.65342: Evaluate component inputs for each observation model
#> 2026-01-22 18:10:10.65519: bru_input(bru_comp_list)
#> 2026-01-22 18:10:10.657014: bru_input.bru_comp(z)
#> 2026-01-22 18:10:10.658804: bru_input.bm_pipe(z)
#> 2026-01-22 18:10:10.660876: bru_input.bm_multi(z:mapper)
#> 2026-01-22 18:10:10.662852: bru_input.bru_mapper(z:mapper:main)
#> 2026-01-22 18:10:10.664639: bru_input(bru_input) for (z)
#> 2026-01-22 18:10:10.673492: bru_input.bru_comp(Intercept)
#> 2026-01-22 18:10:10.67541: bru_input.bm_pipe(Intercept)
#> 2026-01-22 18:10:10.67744: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-22 18:10:10.679412: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-22 18:10:10.681323: bru_input(bru_input) for (Intercept)
#> 2026-01-22 18:10:10.69848: iinla: Start
#> 2026-01-22 18:10:10.700111: iinla: Evaluate component linearisations
#> 2026-01-22 18:10:10.70175: Linearise components for each observation model
#> 2026-01-22 18:10:10.703701: Linearise component 'z'
#> 2026-01-22 18:10:10.70738: Linearise component 'Intercept'
#> 2026-01-22 18:10:10.710836: iinla: Evaluate component simplifications
#> 2026-01-22 18:10:10.712435: Simplify component mappers for each observation model
#> 2026-01-22 18:10:10.714327: Simplify component 'z'
#> 2026-01-22 18:10:10.718144: Simplify component 'Intercept'
#> 2026-01-22 18:10:10.721892: iinla: Evaluate predictor linearisation
#> 2026-01-22 18:10:10.7258: Linearise with respect to component 'z'
#> 2026-01-22 18:10:10.732498: Linearise with respect to component 'Intercept'
#> 2026-01-22 18:10:10.736878: iinla: Construct inla stack
#> 2026-01-22 18:10:10.752671: iinla: Model initialisation completed
#> 2026-01-22 18:10:10.754655: iinla: Iteration 1 [max: 10]
#> 2026-01-22 18:10:11.071384: iinla: Step rescaling: 61.8%, Contract (norm0 = 2691, norm1 = 2464, norm01 = 494.2)
#> 2026-01-22 18:10:11.074504: iinla: Step rescaling: 38.2%, Contract (norm0 = 552.8, norm1 = 411.6, norm01 = 494.2)
#> 2026-01-22 18:10:11.081771: iinla: Step rescaling: 27.71%, Approx Optimisation (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2026-01-22 18:10:11.083483: iinla: |lin1-lin0| = 494.2
#> <eta-lin1,delta>/|delta| = -281.1
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 154.1
#> 2026-01-22 18:10:11.085021: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2026-01-22 18:10:11.086888: iinla: Evaluate component linearisations
#> 2026-01-22 18:10:11.088104: Linearise components for each observation model
#> 2026-01-22 18:10:11.089532: Linearise component 'z'
#> 2026-01-22 18:10:11.09268: Linearise component 'Intercept'
#> 2026-01-22 18:10:11.095572: iinla: Evaluate predictor linearisation
#> 2026-01-22 18:10:11.098398: Linearise with respect to component 'z'
#> 2026-01-22 18:10:11.102173: Linearise with respect to component 'Intercept'
#> 2026-01-22 18:10:11.11564: iinla: Iteration 2 [max: 10]
#> 2026-01-22 18:10:11.738336: iinla: Step rescaling: 162%, Expand (norm0 = 518.3, norm1 = 200.1, norm01 = 320.5)
#> 2026-01-22 18:10:11.741225: iinla: Step rescaling: 100%, Overstep (norm0 = 320.2, norm1 = 13.76, norm01 = 320.5)
#> 2026-01-22 18:10:11.744707: iinla: Step rescaling: 99.81%, Approx Optimisation (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2026-01-22 18:10:11.746222: iinla: |lin1-lin0| = 320.5
#> <eta-lin1,delta>/|delta| = -1.177
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.69
#> 2026-01-22 18:10:11.747665: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2026-01-22 18:10:11.749421: iinla: Evaluate component linearisations
#> 2026-01-22 18:10:11.750668: Linearise components for each observation model
#> 2026-01-22 18:10:11.752043: Linearise component 'z'
#> 2026-01-22 18:10:11.755054: Linearise component 'Intercept'
#> 2026-01-22 18:10:11.757835: iinla: Evaluate predictor linearisation
#> 2026-01-22 18:10:11.760598: Linearise with respect to component 'z'
#> 2026-01-22 18:10:11.764247: Linearise with respect to component 'Intercept'
#> 2026-01-22 18:10:11.776411: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-22 18:10:11.779005: iinla: Iteration 3 [max: 10]
#> 2026-01-22 18:10:12.085174: iinla: Step rescaling: 162%, Expand (norm0 = 21.7, norm1 = 7.954, norm01 = 13.75)
#> 2026-01-22 18:10:12.08811: iinla: Step rescaling: 100%, Overstep (norm0 = 13.54, norm1 = 0.2086, norm01 = 13.75)
#> 2026-01-22 18:10:12.091941: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2026-01-22 18:10:12.093476: iinla: |lin1-lin0| = 13.75
#> <eta-lin1,delta>/|delta| = 7.795e-07
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.009295
#> 2026-01-22 18:10:12.094991: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2026-01-22 18:10:12.096808: iinla: Evaluate component linearisations
#> 2026-01-22 18:10:12.098043: Linearise components for each observation model
#> 2026-01-22 18:10:12.099469: Linearise component 'z'
#> 2026-01-22 18:10:12.102595: Linearise component 'Intercept'
#> 2026-01-22 18:10:12.105426: iinla: Evaluate predictor linearisation
#> 2026-01-22 18:10:12.108213: Linearise with respect to component 'z'
#> 2026-01-22 18:10:12.111899: Linearise with respect to component 'Intercept'
#> 2026-01-22 18:10:12.124243: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-22 18:10:12.126893: iinla: Iteration 4 [max: 10]
#> 2026-01-22 18:10:12.440747: iinla: Step rescaling: 162%, Expand (norm0 = 0.01503, norm1 = 0.005741, norm01 = 0.00929)
#> 2026-01-22 18:10:12.443919: iinla: Step rescaling: 100%, Overstep (norm0 = 0.00929, norm1 = 3.115e-08, norm01 = 0.00929)
#> 2026-01-22 18:10:12.447606: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.00929, norm1 = 3.112e-08, norm01 = 0.00929)
#> 2026-01-22 18:10:12.449162: iinla: |lin1-lin0| = 0.00929
#> <eta-lin1,delta>/|delta| = 2.84e-11
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 3.112e-08
#> 2026-01-22 18:10:12.450992: iinla: Evaluate component linearisations
#> 2026-01-22 18:10:12.452207: Linearise components for each observation model
#> 2026-01-22 18:10:12.45364: Linearise component 'z'
#> 2026-01-22 18:10:12.456676: Linearise component 'Intercept'
#> 2026-01-22 18:10:12.459491: iinla: Evaluate predictor linearisation
#> 2026-01-22 18:10:12.462271: Linearise with respect to component 'z'
#> 2026-01-22 18:10:12.465994: Linearise with respect to component 'Intercept'
#> 2026-01-22 18:10:12.479819: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-22 18:10:12.481328: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-22 18:10:12.484119: iinla: Iteration 5 [max: 10]
#> 2026-01-22 18:10:13.095352: iinla: Computation completed
#> 2026-01-22 18:10:14.017398: bru: Preprocessing
#> 2026-01-22 18:10:14.027467: Evaluate component inputs for each observation model
#> 2026-01-22 18:10:14.029264: bru_input(bru_comp_list)
#> 2026-01-22 18:10:14.031126: bru_input.bru_comp(field)
#> 2026-01-22 18:10:14.032915: bru_input.bm_pipe(field)
#> 2026-01-22 18:10:14.034871: bru_input.bm_multi(field:mapper)
#> 2026-01-22 18:10:14.036545: bru_input.bru_mapper(field:mapper:main)
#> 2026-01-22 18:10:14.037883: bru_input(bru_input) for (field)
#> 2026-01-22 18:10:14.054986: iinla: Start
#> 2026-01-22 18:10:14.056645: iinla: Evaluate component linearisations
#> 2026-01-22 18:10:14.058235: Linearise components for each observation model
#> 2026-01-22 18:10:14.060111: Linearise component 'field'
#> 2026-01-22 18:10:14.069679: iinla: Evaluate component simplifications
#> 2026-01-22 18:10:14.070899: Simplify component mappers for each observation model
#> 2026-01-22 18:10:14.072315: Simplify component 'field'
#> 2026-01-22 18:10:14.078672: iinla: Evaluate predictor linearisation
#> 2026-01-22 18:10:14.082186: iinla: Construct inla stack
#> 2026-01-22 18:10:14.092613: iinla: Model initialisation completed
#> 2026-01-22 18:10:14.094057: iinla: Iteration 1 [max: 1]
#> 2026-01-22 18:10:14.520391: iinla: Computation completed
#> 2026-01-22 18:10:16.473215: bru_input(bru_comp_list)
#> 2026-01-22 18:10:19.120657: bru: Preprocessing
#> 2026-01-22 18:10:19.134446: Evaluate component inputs for each observation model
#> 2026-01-22 18:10:19.13583: bru_input(bru_comp_list)
#> 2026-01-22 18:10:19.137259: bru_input.bru_comp(x)
#> 2026-01-22 18:10:19.138642: bru_input.bm_pipe(x)
#> 2026-01-22 18:10:19.140124: bru_input.bm_multi(x:mapper)
#> 2026-01-22 18:10:19.141608: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-22 18:10:19.142928: bru_input(bru_input) for (x)
#> 2026-01-22 18:10:19.150847: bru_input(bru_comp_list)
#> 2026-01-22 18:10:19.152273: bru_input.bru_comp(x)
#> 2026-01-22 18:10:19.153634: bru_input.bm_pipe(x)
#> 2026-01-22 18:10:19.155102: bru_input.bm_multi(x:mapper)
#> 2026-01-22 18:10:19.156534: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-22 18:10:19.157862: bru_input(bru_input) for (x)
#> 2026-01-22 18:10:19.172184: iinla: Start
#> 2026-01-22 18:10:19.173417: iinla: Evaluate component linearisations
#> 2026-01-22 18:10:19.174642: Linearise components for each observation model
#> 2026-01-22 18:10:19.176007: Linearise component 'x'
#> 2026-01-22 18:10:19.179253: Linearise component 'x'
#> 2026-01-22 18:10:19.182028: iinla: Evaluate component simplifications
#> 2026-01-22 18:10:19.183263: Simplify component mappers for each observation model
#> 2026-01-22 18:10:19.184777: Simplify component 'x'
#> 2026-01-22 18:10:19.18823: Simplify component 'x'
#> 2026-01-22 18:10:19.191348: iinla: Evaluate predictor linearisation
#> 2026-01-22 18:10:19.19714: iinla: Construct inla stack
#> 2026-01-22 18:10:19.211705: iinla: Model initialisation completed
#> 2026-01-22 18:10:19.213213: iinla: Iteration 1 [max: 1]
#> 2026-01-22 18:10:19.565306: iinla: Computation completed
#> 2026-01-22 18:11:08.091944: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2026-01-22 18:09:57.630058: inlabru loaded
#> 2026-01-22 18:09:57.630521: Clear override options
#> 2026-01-22 18:10:09.214492: bru: Preprocessing
#> 2026-01-22 18:10:09.337731: iinla: Iteration 1 [max: 1]
#> 2026-01-22 18:10:10.148142: bru: Preprocessing
#> 2026-01-22 18:10:10.253335: iinla: Iteration 1 [max: 1]
#> 2026-01-22 18:10:10.642429: bru: Preprocessing
#> 2026-01-22 18:10:10.754655: iinla: Iteration 1 [max: 10]
#> 2026-01-22 18:10:11.085021: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2026-01-22 18:10:11.11564: iinla: Iteration 2 [max: 10]
#> 2026-01-22 18:10:11.747665: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2026-01-22 18:10:11.776411: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-22 18:10:11.779005: iinla: Iteration 3 [max: 10]
#> 2026-01-22 18:10:12.094991: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2026-01-22 18:10:12.124243: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-22 18:10:12.126893: iinla: Iteration 4 [max: 10]
#> 2026-01-22 18:10:12.479819: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-22 18:10:12.481328: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-22 18:10:12.484119: iinla: Iteration 5 [max: 10]
#> 2026-01-22 18:10:14.017398: bru: Preprocessing
#> 2026-01-22 18:10:14.094057: iinla: Iteration 1 [max: 1]
#> 2026-01-22 18:10:19.120657: bru: Preprocessing
#> 2026-01-22 18:10:19.213213: iinla: Iteration 1 [max: 1]
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2026-01-22 18:09:57.630058: inlabru loaded (level 1)
#> 2026-01-22 18:09:57.630521: Clear override options (level 1)
#> 2026-01-22 18:10:09.214492: bru: Preprocessing (level 1)
#> 2026-01-22 18:10:09.229755: Evaluate component inputs for each observation model (level 3)
#> 2026-01-22 18:10:09.231193: bru_input(bru_comp_list) (level 4)
#> 2026-01-22 18:10:09.232668: bru_input.bru_comp(x) (level 4)
#> 2026-01-22 18:10:09.234113: bru_input.bm_pipe(x) (level 5)
#> 2026-01-22 18:10:09.235774: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-22 18:10:09.23737: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-22 18:10:09.239021: bru_input(bru_input) for (x) (level 5)
#> 2026-01-22 18:10:09.247739: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-22 18:10:09.249176: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-22 18:10:09.250722: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-22 18:10:09.252248: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-22 18:10:09.253613: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-22 18:10:09.278623: iinla: Start (level 3)
#> 2026-01-22 18:10:09.280652: iinla: Evaluate component linearisations (level 3)
#> 2026-01-22 18:10:09.28214: Linearise components for each observation model (level 3)
#> 2026-01-22 18:10:09.284005: Linearise component 'x' (level 4)
#> 2026-01-22 18:10:09.287238: Linearise component 'Intercept' (level 4)
#> 2026-01-22 18:10:09.290142: iinla: Evaluate component simplifications (level 3)
#> 2026-01-22 18:10:09.291535: Simplify component mappers for each observation model (level 3)
#> 2026-01-22 18:10:09.293128: Simplify component 'x' (level 4)
#> 2026-01-22 18:10:09.296417: Simplify component 'Intercept' (level 4)
#> 2026-01-22 18:10:09.299525: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-22 18:10:09.313576: iinla: Construct inla stack (level 3)
#> 2026-01-22 18:10:09.336145: iinla: Model initialisation completed (level 3)
#> 2026-01-22 18:10:09.337731: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-22 18:10:10.121144: iinla: Computation completed (level 3)
#> 2026-01-22 18:10:10.148142: bru: Preprocessing (level 1)
#> 2026-01-22 18:10:10.157264: Evaluate component inputs for each observation model (level 3)
#> 2026-01-22 18:10:10.158711: bru_input(bru_comp_list) (level 4)
#> 2026-01-22 18:10:10.160542: bru_input.bru_comp(x) (level 4)
#> 2026-01-22 18:10:10.162361: bru_input.bm_pipe(x) (level 5)
#> 2026-01-22 18:10:10.164379: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-22 18:10:10.166387: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-22 18:10:10.168218: bru_input(bru_input) for (x) (level 5)
#> 2026-01-22 18:10:10.177017: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-22 18:10:10.178941: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-22 18:10:10.180983: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-22 18:10:10.182982: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-22 18:10:10.184796: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-22 18:10:10.202752: iinla: Start (level 3)
#> 2026-01-22 18:10:10.204402: iinla: Evaluate component linearisations (level 3)
#> 2026-01-22 18:10:10.206051: Linearise components for each observation model (level 3)
#> 2026-01-22 18:10:10.207938: Linearise component 'x' (level 4)
#> 2026-01-22 18:10:10.2117: Linearise component 'Intercept' (level 4)
#> 2026-01-22 18:10:10.215232: iinla: Evaluate component simplifications (level 3)
#> 2026-01-22 18:10:10.216884: Simplify component mappers for each observation model (level 3)
#> 2026-01-22 18:10:10.218852: Simplify component 'x' (level 4)
#> 2026-01-22 18:10:10.222808: Simplify component 'Intercept' (level 4)
#> 2026-01-22 18:10:10.226649: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-22 18:10:10.235113: iinla: Construct inla stack (level 3)
#> 2026-01-22 18:10:10.25131: iinla: Model initialisation completed (level 3)
#> 2026-01-22 18:10:10.253335: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-22 18:10:10.608428: iinla: Computation completed (level 3)
#> 2026-01-22 18:10:10.642429: bru: Preprocessing (level 1)
#> 2026-01-22 18:10:10.65342: Evaluate component inputs for each observation model (level 3)
#> 2026-01-22 18:10:10.65519: bru_input(bru_comp_list) (level 4)
#> 2026-01-22 18:10:10.657014: bru_input.bru_comp(z) (level 4)
#> 2026-01-22 18:10:10.658804: bru_input.bm_pipe(z) (level 5)
#> 2026-01-22 18:10:10.660876: bru_input.bm_multi(z:mapper) (level 5)
#> 2026-01-22 18:10:10.662852: bru_input.bru_mapper(z:mapper:main) (level 5)
#> 2026-01-22 18:10:10.664639: bru_input(bru_input) for (z) (level 5)
#> 2026-01-22 18:10:10.673492: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-22 18:10:10.67541: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-22 18:10:10.67744: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-22 18:10:10.679412: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-22 18:10:10.681323: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-22 18:10:10.69848: iinla: Start (level 3)
#> 2026-01-22 18:10:10.700111: iinla: Evaluate component linearisations (level 3)
#> 2026-01-22 18:10:10.70175: Linearise components for each observation model (level 3)
#> 2026-01-22 18:10:10.703701: Linearise component 'z' (level 4)
#> 2026-01-22 18:10:10.70738: Linearise component 'Intercept' (level 4)
#> 2026-01-22 18:10:10.710836: iinla: Evaluate component simplifications (level 3)
#> 2026-01-22 18:10:10.712435: Simplify component mappers for each observation model (level 3)
#> 2026-01-22 18:10:10.714327: Simplify component 'z' (level 4)
#> 2026-01-22 18:10:10.718144: Simplify component 'Intercept' (level 4)
#> 2026-01-22 18:10:10.721892: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-22 18:10:10.7258: Linearise with respect to component 'z' (level 5)
#> 2026-01-22 18:10:10.732498: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-22 18:10:10.736878: iinla: Construct inla stack (level 3)
#> 2026-01-22 18:10:10.752671: iinla: Model initialisation completed (level 3)
#> 2026-01-22 18:10:10.754655: iinla: Iteration 1 [max: 10] (level 1)
#> 2026-01-22 18:10:11.071384: iinla: Step rescaling: 61.8%, Contract (norm0 = 2691, norm1 = 2464, norm01 = 494.2) (level 3)
#> 2026-01-22 18:10:11.074504: iinla: Step rescaling: 38.2%, Contract (norm0 = 552.8, norm1 = 411.6, norm01 = 494.2) (level 3)
#> 2026-01-22 18:10:11.081771: iinla: Step rescaling: 27.71%, Approx Optimisation (norm0 = 263, norm1 = 320.6, norm01 = 494.2) (level 3)
#> 2026-01-22 18:10:11.083483: iinla: |lin1-lin0| = 494.2
#> <eta-lin1,delta>/|delta| = -281.1
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 154.1 (level 4)
#> 2026-01-22 18:10:11.085021: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2) (level 2)
#> 2026-01-22 18:10:11.086888: iinla: Evaluate component linearisations (level 3)
#> 2026-01-22 18:10:11.088104: Linearise components for each observation model (level 3)
#> 2026-01-22 18:10:11.089532: Linearise component 'z' (level 4)
#> 2026-01-22 18:10:11.09268: Linearise component 'Intercept' (level 4)
#> 2026-01-22 18:10:11.095572: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-22 18:10:11.098398: Linearise with respect to component 'z' (level 5)
#> 2026-01-22 18:10:11.102173: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-22 18:10:11.11564: iinla: Iteration 2 [max: 10] (level 1)
#> 2026-01-22 18:10:11.738336: iinla: Step rescaling: 162%, Expand (norm0 = 518.3, norm1 = 200.1, norm01 = 320.5) (level 3)
#> 2026-01-22 18:10:11.741225: iinla: Step rescaling: 100%, Overstep (norm0 = 320.2, norm1 = 13.76, norm01 = 320.5) (level 3)
#> 2026-01-22 18:10:11.744707: iinla: Step rescaling: 99.81%, Approx Optimisation (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5) (level 3)
#> 2026-01-22 18:10:11.746222: iinla: |lin1-lin0| = 320.5
#> <eta-lin1,delta>/|delta| = -1.177
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.69 (level 4)
#> 2026-01-22 18:10:11.747665: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5) (level 2)
#> 2026-01-22 18:10:11.749421: iinla: Evaluate component linearisations (level 3)
#> 2026-01-22 18:10:11.750668: Linearise components for each observation model (level 3)
#> 2026-01-22 18:10:11.752043: Linearise component 'z' (level 4)
#> 2026-01-22 18:10:11.755054: Linearise component 'Intercept' (level 4)
#> 2026-01-22 18:10:11.757835: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-22 18:10:11.760598: Linearise with respect to component 'z' (level 5)
#> 2026-01-22 18:10:11.764247: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-22 18:10:11.776411: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-22 18:10:11.779005: iinla: Iteration 3 [max: 10] (level 1)
#> 2026-01-22 18:10:12.085174: iinla: Step rescaling: 162%, Expand (norm0 = 21.7, norm1 = 7.954, norm01 = 13.75) (level 3)
#> 2026-01-22 18:10:12.08811: iinla: Step rescaling: 100%, Overstep (norm0 = 13.54, norm1 = 0.2086, norm01 = 13.75) (level 3)
#> 2026-01-22 18:10:12.091941: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75) (level 3)
#> 2026-01-22 18:10:12.093476: iinla: |lin1-lin0| = 13.75
#> <eta-lin1,delta>/|delta| = 7.795e-07
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.009295 (level 4)
#> 2026-01-22 18:10:12.094991: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75) (level 2)
#> 2026-01-22 18:10:12.096808: iinla: Evaluate component linearisations (level 3)
#> 2026-01-22 18:10:12.098043: Linearise components for each observation model (level 3)
#> 2026-01-22 18:10:12.099469: Linearise component 'z' (level 4)
#> 2026-01-22 18:10:12.102595: Linearise component 'Intercept' (level 4)
#> 2026-01-22 18:10:12.105426: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-22 18:10:12.108213: Linearise with respect to component 'z' (level 5)
#> 2026-01-22 18:10:12.111899: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-22 18:10:12.124243: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-22 18:10:12.126893: iinla: Iteration 4 [max: 10] (level 1)
#> 2026-01-22 18:10:12.440747: iinla: Step rescaling: 162%, Expand (norm0 = 0.01503, norm1 = 0.005741, norm01 = 0.00929) (level 3)
#> 2026-01-22 18:10:12.443919: iinla: Step rescaling: 100%, Overstep (norm0 = 0.00929, norm1 = 3.115e-08, norm01 = 0.00929) (level 3)
#> 2026-01-22 18:10:12.447606: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.00929, norm1 = 3.112e-08, norm01 = 0.00929) (level 3)
#> 2026-01-22 18:10:12.449162: 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)
#> 2026-01-22 18:10:12.450992: iinla: Evaluate component linearisations (level 3)
#> 2026-01-22 18:10:12.452207: Linearise components for each observation model (level 3)
#> 2026-01-22 18:10:12.45364: Linearise component 'z' (level 4)
#> 2026-01-22 18:10:12.456676: Linearise component 'Intercept' (level 4)
#> 2026-01-22 18:10:12.459491: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-22 18:10:12.462271: Linearise with respect to component 'z' (level 5)
#> 2026-01-22 18:10:12.465994: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-22 18:10:12.479819: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-22 18:10:12.481328: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2026-01-22 18:10:12.484119: iinla: Iteration 5 [max: 10] (level 1)
#> 2026-01-22 18:10:13.095352: iinla: Computation completed (level 3)
#> 2026-01-22 18:10:14.017398: bru: Preprocessing (level 1)
#> 2026-01-22 18:10:14.027467: Evaluate component inputs for each observation model (level 3)
#> 2026-01-22 18:10:14.029264: bru_input(bru_comp_list) (level 4)
#> 2026-01-22 18:10:14.031126: bru_input.bru_comp(field) (level 4)
#> 2026-01-22 18:10:14.032915: bru_input.bm_pipe(field) (level 5)
#> 2026-01-22 18:10:14.034871: bru_input.bm_multi(field:mapper) (level 5)
#> 2026-01-22 18:10:14.036545: bru_input.bru_mapper(field:mapper:main) (level 5)
#> 2026-01-22 18:10:14.037883: bru_input(bru_input) for (field) (level 5)
#> 2026-01-22 18:10:14.054986: iinla: Start (level 3)
#> 2026-01-22 18:10:14.056645: iinla: Evaluate component linearisations (level 3)
#> 2026-01-22 18:10:14.058235: Linearise components for each observation model (level 3)
#> 2026-01-22 18:10:14.060111: Linearise component 'field' (level 4)
#> 2026-01-22 18:10:14.069679: iinla: Evaluate component simplifications (level 3)
#> 2026-01-22 18:10:14.070899: Simplify component mappers for each observation model (level 3)
#> 2026-01-22 18:10:14.072315: Simplify component 'field' (level 4)
#> 2026-01-22 18:10:14.078672: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-22 18:10:14.082186: iinla: Construct inla stack (level 3)
#> 2026-01-22 18:10:14.092613: iinla: Model initialisation completed (level 3)
#> 2026-01-22 18:10:14.094057: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-22 18:10:14.520391: iinla: Computation completed (level 3)
#> 2026-01-22 18:10:16.473215: bru_input(bru_comp_list) (level 4)
#> 2026-01-22 18:10:19.120657: bru: Preprocessing (level 1)
#> 2026-01-22 18:10:19.134446: Evaluate component inputs for each observation model (level 3)
#> 2026-01-22 18:10:19.13583: bru_input(bru_comp_list) (level 4)
#> 2026-01-22 18:10:19.137259: bru_input.bru_comp(x) (level 4)
#> 2026-01-22 18:10:19.138642: bru_input.bm_pipe(x) (level 5)
#> 2026-01-22 18:10:19.140124: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-22 18:10:19.141608: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-22 18:10:19.142928: bru_input(bru_input) for (x) (level 5)
#> 2026-01-22 18:10:19.150847: bru_input(bru_comp_list) (level 4)
#> 2026-01-22 18:10:19.152273: bru_input.bru_comp(x) (level 4)
#> 2026-01-22 18:10:19.153634: bru_input.bm_pipe(x) (level 5)
#> 2026-01-22 18:10:19.155102: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-22 18:10:19.156534: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-22 18:10:19.157862: bru_input(bru_input) for (x) (level 5)
#> 2026-01-22 18:10:19.172184: iinla: Start (level 3)
#> 2026-01-22 18:10:19.173417: iinla: Evaluate component linearisations (level 3)
#> 2026-01-22 18:10:19.174642: Linearise components for each observation model (level 3)
#> 2026-01-22 18:10:19.176007: Linearise component 'x' (level 4)
#> 2026-01-22 18:10:19.179253: Linearise component 'x' (level 4)
#> 2026-01-22 18:10:19.182028: iinla: Evaluate component simplifications (level 3)
#> 2026-01-22 18:10:19.183263: Simplify component mappers for each observation model (level 3)
#> 2026-01-22 18:10:19.184777: Simplify component 'x' (level 4)
#> 2026-01-22 18:10:19.18823: Simplify component 'x' (level 4)
#> 2026-01-22 18:10:19.191348: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-22 18:10:19.19714: iinla: Construct inla stack (level 3)
#> 2026-01-22 18:10:19.211705: iinla: Model initialisation completed (level 3)
#> 2026-01-22 18:10:19.213213: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-22 18:10:19.565306: iinla: Computation completed (level 3)
#> 2026-01-22 18:11:08.091944: bru_input(bru_input) for (LABEL) (level 5)