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-06 13:09:17.947993: inlabru loaded
#> 2026-01-06 13:09:17.94845: Clear override options
#> 2026-01-06 13:09:29.738402: bru: Preprocessing
#> 2026-01-06 13:09:29.893464: iinla: Iteration 1 [max: 1]
#> 2026-01-06 13:09:30.77002: bru: Preprocessing
#> 2026-01-06 13:09:30.875068: iinla: Iteration 1 [max: 1]
#> 2026-01-06 13:09:31.214404: bru: Preprocessing
#> 2026-01-06 13:09:31.320177: iinla: Iteration 1 [max: 10]
#> 2026-01-06 13:09:31.624986: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2026-01-06 13:09:31.658113: iinla: Iteration 2 [max: 10]
#> 2026-01-06 13:09:32.226868: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2026-01-06 13:09:32.255351: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-06 13:09:32.257745: iinla: Iteration 3 [max: 10]
#> 2026-01-06 13:09:32.540491: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2026-01-06 13:09:32.570114: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-06 13:09:32.572641: iinla: Iteration 4 [max: 10]
#> 2026-01-06 13:09:32.888716: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-06 13:09:32.889957: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-06 13:09:32.892405: iinla: Iteration 5 [max: 10]
#> 2026-01-06 13:09:34.088817: bru: Preprocessing
#> 2026-01-06 13:09:34.157911: iinla: Iteration 1 [max: 1]
#> 2026-01-06 13:09:39.174783: bru: Preprocessing
#> 2026-01-06 13:09:39.284486: iinla: Iteration 1 [max: 1]
format(bru_log())
#> 2026-01-06 13:09:17.947993: inlabru loaded
#> 2026-01-06 13:09:17.94845: Clear override options
#> 2026-01-06 13:09:29.738402: bru: Preprocessing
#> 2026-01-06 13:09:29.756891: Evaluate component inputs for each observation model
#> 2026-01-06 13:09:29.758593: bru_input(bru_comp_list)
#> 2026-01-06 13:09:29.76031: bru_input.bru_comp(x)
#> 2026-01-06 13:09:29.762737: bru_input.bm_pipe(x)
#> 2026-01-06 13:09:29.765237: bru_input.bm_multi(x:mapper)
#> 2026-01-06 13:09:29.767438: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-06 13:09:29.769692: bru_input(bru_input) for (x)
#> 2026-01-06 13:09:29.781068: bru_input.bru_comp(Intercept)
#> 2026-01-06 13:09:29.783073: bru_input.bm_pipe(Intercept)
#> 2026-01-06 13:09:29.784927: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-06 13:09:29.786647: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-06 13:09:29.788281: bru_input(bru_input) for (Intercept)
#> 2026-01-06 13:09:29.823157: iinla: Start
#> 2026-01-06 13:09:29.825922: iinla: Evaluate component linearisations
#> 2026-01-06 13:09:29.828023: Linearise components for each observation model
#> 2026-01-06 13:09:29.829999: Linearise component 'x'
#> 2026-01-06 13:09:29.833932: Linearise component 'Intercept'
#> 2026-01-06 13:09:29.837952: iinla: Evaluate component simplifications
#> 2026-01-06 13:09:29.83983: Simplify component mappers for each observation model
#> 2026-01-06 13:09:29.841759: Simplify component 'x'
#> 2026-01-06 13:09:29.845627: Simplify component 'Intercept'
#> 2026-01-06 13:09:29.849268: iinla: Evaluate predictor linearisation
#> 2026-01-06 13:09:29.865652: iinla: Construct inla stack
#> 2026-01-06 13:09:29.89181: iinla: Model initialisation completed
#> 2026-01-06 13:09:29.893464: iinla: Iteration 1 [max: 1]
#> 2026-01-06 13:09:30.741335: iinla: Computation completed
#> 2026-01-06 13:09:30.77002: bru: Preprocessing
#> 2026-01-06 13:09:30.780076: Evaluate component inputs for each observation model
#> 2026-01-06 13:09:30.781618: bru_input(bru_comp_list)
#> 2026-01-06 13:09:30.78332: bru_input.bru_comp(x)
#> 2026-01-06 13:09:30.784968: bru_input.bm_pipe(x)
#> 2026-01-06 13:09:30.786615: bru_input.bm_multi(x:mapper)
#> 2026-01-06 13:09:30.78815: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-06 13:09:30.78957: bru_input(bru_input) for (x)
#> 2026-01-06 13:09:30.798034: bru_input.bru_comp(Intercept)
#> 2026-01-06 13:09:30.799676: bru_input.bm_pipe(Intercept)
#> 2026-01-06 13:09:30.801569: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-06 13:09:30.803456: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-06 13:09:30.805151: bru_input(bru_input) for (Intercept)
#> 2026-01-06 13:09:30.823594: iinla: Start
#> 2026-01-06 13:09:30.825068: iinla: Evaluate component linearisations
#> 2026-01-06 13:09:30.826543: Linearise components for each observation model
#> 2026-01-06 13:09:30.828248: Linearise component 'x'
#> 2026-01-06 13:09:30.831994: Linearise component 'Intercept'
#> 2026-01-06 13:09:30.835573: iinla: Evaluate component simplifications
#> 2026-01-06 13:09:30.837209: Simplify component mappers for each observation model
#> 2026-01-06 13:09:30.839077: Simplify component 'x'
#> 2026-01-06 13:09:30.843193: Simplify component 'Intercept'
#> 2026-01-06 13:09:30.847602: iinla: Evaluate predictor linearisation
#> 2026-01-06 13:09:30.856504: iinla: Construct inla stack
#> 2026-01-06 13:09:30.873135: iinla: Model initialisation completed
#> 2026-01-06 13:09:30.875068: iinla: Iteration 1 [max: 1]
#> 2026-01-06 13:09:31.186661: iinla: Computation completed
#> 2026-01-06 13:09:31.214404: bru: Preprocessing
#> 2026-01-06 13:09:31.224588: Evaluate component inputs for each observation model
#> 2026-01-06 13:09:31.226211: bru_input(bru_comp_list)
#> 2026-01-06 13:09:31.227907: bru_input.bru_comp(z)
#> 2026-01-06 13:09:31.2296: bru_input.bm_pipe(z)
#> 2026-01-06 13:09:31.231466: bru_input.bm_multi(z:mapper)
#> 2026-01-06 13:09:31.233206: bru_input.bru_mapper(z:mapper:main)
#> 2026-01-06 13:09:31.234806: bru_input(bru_input) for (z)
#> 2026-01-06 13:09:31.243475: bru_input.bru_comp(Intercept)
#> 2026-01-06 13:09:31.245247: bru_input.bm_pipe(Intercept)
#> 2026-01-06 13:09:31.247114: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-06 13:09:31.248986: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-06 13:09:31.250664: bru_input(bru_input) for (Intercept)
#> 2026-01-06 13:09:31.26698: iinla: Start
#> 2026-01-06 13:09:31.268422: iinla: Evaluate component linearisations
#> 2026-01-06 13:09:31.269892: Linearise components for each observation model
#> 2026-01-06 13:09:31.271556: Linearise component 'z'
#> 2026-01-06 13:09:31.275104: Linearise component 'Intercept'
#> 2026-01-06 13:09:31.278538: iinla: Evaluate component simplifications
#> 2026-01-06 13:09:31.279984: Simplify component mappers for each observation model
#> 2026-01-06 13:09:31.281674: Simplify component 'z'
#> 2026-01-06 13:09:31.285211: Simplify component 'Intercept'
#> 2026-01-06 13:09:31.288795: iinla: Evaluate predictor linearisation
#> 2026-01-06 13:09:31.292484: Linearise with respect to component 'z'
#> 2026-01-06 13:09:31.298807: Linearise with respect to component 'Intercept'
#> 2026-01-06 13:09:31.303169: iinla: Construct inla stack
#> 2026-01-06 13:09:31.318377: iinla: Model initialisation completed
#> 2026-01-06 13:09:31.320177: iinla: Iteration 1 [max: 10]
#> 2026-01-06 13:09:31.613671: iinla: Step rescaling: 61.8%, Contract (norm0 = 2691, norm1 = 2464, norm01 = 494.2)
#> 2026-01-06 13:09:31.617192: iinla: Step rescaling: 38.2%, Contract (norm0 = 552.8, norm1 = 411.6, norm01 = 494.2)
#> 2026-01-06 13:09:31.621743: iinla: Step rescaling: 27.71%, Approx Optimisation (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2026-01-06 13:09:31.623422: iinla: |lin1-lin0| = 494.2
#> <eta-lin1,delta>/|delta| = -281.1
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 154.1
#> 2026-01-06 13:09:31.624986: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2026-01-06 13:09:31.626869: iinla: Evaluate component linearisations
#> 2026-01-06 13:09:31.628126: Linearise components for each observation model
#> 2026-01-06 13:09:31.629557: Linearise component 'z'
#> 2026-01-06 13:09:31.63303: Linearise component 'Intercept'
#> 2026-01-06 13:09:31.636349: iinla: Evaluate predictor linearisation
#> 2026-01-06 13:09:31.639566: Linearise with respect to component 'z'
#> 2026-01-06 13:09:31.643596: Linearise with respect to component 'Intercept'
#> 2026-01-06 13:09:31.658113: iinla: Iteration 2 [max: 10]
#> 2026-01-06 13:09:32.217661: iinla: Step rescaling: 162%, Expand (norm0 = 518.3, norm1 = 200.1, norm01 = 320.5)
#> 2026-01-06 13:09:32.220553: iinla: Step rescaling: 100%, Overstep (norm0 = 320.2, norm1 = 13.76, norm01 = 320.5)
#> 2026-01-06 13:09:32.22399: iinla: Step rescaling: 99.81%, Approx Optimisation (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2026-01-06 13:09:32.225497: iinla: |lin1-lin0| = 320.5
#> <eta-lin1,delta>/|delta| = -1.177
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.69
#> 2026-01-06 13:09:32.226868: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2026-01-06 13:09:32.228574: iinla: Evaluate component linearisations
#> 2026-01-06 13:09:32.229657: Linearise components for each observation model
#> 2026-01-06 13:09:32.230941: Linearise component 'z'
#> 2026-01-06 13:09:32.233938: Linearise component 'Intercept'
#> 2026-01-06 13:09:32.236808: iinla: Evaluate predictor linearisation
#> 2026-01-06 13:09:32.239617: Linearise with respect to component 'z'
#> 2026-01-06 13:09:32.243262: Linearise with respect to component 'Intercept'
#> 2026-01-06 13:09:32.255351: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-06 13:09:32.257745: iinla: Iteration 3 [max: 10]
#> 2026-01-06 13:09:32.530575: iinla: Step rescaling: 162%, Expand (norm0 = 21.7, norm1 = 7.954, norm01 = 13.75)
#> 2026-01-06 13:09:32.533666: iinla: Step rescaling: 100%, Overstep (norm0 = 13.54, norm1 = 0.2086, norm01 = 13.75)
#> 2026-01-06 13:09:32.537359: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2026-01-06 13:09:32.538962: iinla: |lin1-lin0| = 13.75
#> <eta-lin1,delta>/|delta| = 7.795e-07
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.009295
#> 2026-01-06 13:09:32.540491: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2026-01-06 13:09:32.542258: iinla: Evaluate component linearisations
#> 2026-01-06 13:09:32.54347: Linearise components for each observation model
#> 2026-01-06 13:09:32.544876: Linearise component 'z'
#> 2026-01-06 13:09:32.548117: Linearise component 'Intercept'
#> 2026-01-06 13:09:32.551126: iinla: Evaluate predictor linearisation
#> 2026-01-06 13:09:32.553981: Linearise with respect to component 'z'
#> 2026-01-06 13:09:32.557745: Linearise with respect to component 'Intercept'
#> 2026-01-06 13:09:32.570114: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-06 13:09:32.572641: iinla: Iteration 4 [max: 10]
#> 2026-01-06 13:09:32.850934: iinla: Step rescaling: 162%, Expand (norm0 = 0.01503, norm1 = 0.005741, norm01 = 0.00929)
#> 2026-01-06 13:09:32.854077: iinla: Step rescaling: 100%, Overstep (norm0 = 0.00929, norm1 = 3.115e-08, norm01 = 0.00929)
#> 2026-01-06 13:09:32.857997: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.00929, norm1 = 3.112e-08, norm01 = 0.00929)
#> 2026-01-06 13:09:32.859565: 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-06 13:09:32.861326: iinla: Evaluate component linearisations
#> 2026-01-06 13:09:32.862602: Linearise components for each observation model
#> 2026-01-06 13:09:32.863981: Linearise component 'z'
#> 2026-01-06 13:09:32.867024: Linearise component 'Intercept'
#> 2026-01-06 13:09:32.869884: iinla: Evaluate predictor linearisation
#> 2026-01-06 13:09:32.87253: Linearise with respect to component 'z'
#> 2026-01-06 13:09:32.876292: Linearise with respect to component 'Intercept'
#> 2026-01-06 13:09:32.888716: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-06 13:09:32.889957: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-06 13:09:32.892405: iinla: Iteration 5 [max: 10]
#> 2026-01-06 13:09:33.186267: iinla: Computation completed
#> 2026-01-06 13:09:34.088817: bru: Preprocessing
#> 2026-01-06 13:09:34.098692: Evaluate component inputs for each observation model
#> 2026-01-06 13:09:34.100035: bru_input(bru_comp_list)
#> 2026-01-06 13:09:34.101422: bru_input.bru_comp(field)
#> 2026-01-06 13:09:34.102757: bru_input.bm_pipe(field)
#> 2026-01-06 13:09:34.104208: bru_input.bm_multi(field:mapper)
#> 2026-01-06 13:09:34.105684: bru_input.bru_mapper(field:mapper:main)
#> 2026-01-06 13:09:34.107009: bru_input(bru_input) for (field)
#> 2026-01-06 13:09:34.120636: iinla: Start
#> 2026-01-06 13:09:34.121843: iinla: Evaluate component linearisations
#> 2026-01-06 13:09:34.123034: Linearise components for each observation model
#> 2026-01-06 13:09:34.124372: Linearise component 'field'
#> 2026-01-06 13:09:34.131619: iinla: Evaluate component simplifications
#> 2026-01-06 13:09:34.132866: Simplify component mappers for each observation model
#> 2026-01-06 13:09:34.134235: Simplify component 'field'
#> 2026-01-06 13:09:34.140891: iinla: Evaluate predictor linearisation
#> 2026-01-06 13:09:34.14573: iinla: Construct inla stack
#> 2026-01-06 13:09:34.156469: iinla: Model initialisation completed
#> 2026-01-06 13:09:34.157911: iinla: Iteration 1 [max: 1]
#> 2026-01-06 13:09:34.532921: iinla: Computation completed
#> 2026-01-06 13:09:36.237011: bru_input(bru_comp_list)
#> 2026-01-06 13:09:39.174783: bru: Preprocessing
#> 2026-01-06 13:09:39.189153: Evaluate component inputs for each observation model
#> 2026-01-06 13:09:39.190465: bru_input(bru_comp_list)
#> 2026-01-06 13:09:39.192455: bru_input.bru_comp(x)
#> 2026-01-06 13:09:39.193898: bru_input.bm_pipe(x)
#> 2026-01-06 13:09:39.195556: bru_input.bm_multi(x:mapper)
#> 2026-01-06 13:09:39.197057: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-06 13:09:39.198485: bru_input(bru_input) for (x)
#> 2026-01-06 13:09:39.208061: bru_input(bru_comp_list)
#> 2026-01-06 13:09:39.209772: bru_input.bru_comp(x)
#> 2026-01-06 13:09:39.211229: bru_input.bm_pipe(x)
#> 2026-01-06 13:09:39.212829: bru_input.bm_multi(x:mapper)
#> 2026-01-06 13:09:39.214632: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-06 13:09:39.216264: bru_input(bru_input) for (x)
#> 2026-01-06 13:09:39.238135: iinla: Start
#> 2026-01-06 13:09:39.239964: iinla: Evaluate component linearisations
#> 2026-01-06 13:09:39.241192: Linearise components for each observation model
#> 2026-01-06 13:09:39.242665: Linearise component 'x'
#> 2026-01-06 13:09:39.246162: Linearise component 'x'
#> 2026-01-06 13:09:39.249245: iinla: Evaluate component simplifications
#> 2026-01-06 13:09:39.25046: Simplify component mappers for each observation model
#> 2026-01-06 13:09:39.251807: Simplify component 'x'
#> 2026-01-06 13:09:39.255818: Simplify component 'x'
#> 2026-01-06 13:09:39.259256: iinla: Evaluate predictor linearisation
#> 2026-01-06 13:09:39.265603: iinla: Construct inla stack
#> 2026-01-06 13:09:39.282768: iinla: Model initialisation completed
#> 2026-01-06 13:09:39.284486: iinla: Iteration 1 [max: 1]
#> 2026-01-06 13:09:39.659413: iinla: Computation completed
#> 2026-01-06 13:10:31.199129: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2026-01-06 13:09:17.947993: inlabru loaded
#> 2026-01-06 13:09:17.94845: Clear override options
#> 2026-01-06 13:09:29.738402: bru: Preprocessing
#> 2026-01-06 13:09:29.893464: iinla: Iteration 1 [max: 1]
#> 2026-01-06 13:09:30.77002: bru: Preprocessing
#> 2026-01-06 13:09:30.875068: iinla: Iteration 1 [max: 1]
#> 2026-01-06 13:09:31.214404: bru: Preprocessing
#> 2026-01-06 13:09:31.320177: iinla: Iteration 1 [max: 10]
#> 2026-01-06 13:09:31.624986: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2026-01-06 13:09:31.658113: iinla: Iteration 2 [max: 10]
#> 2026-01-06 13:09:32.226868: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2026-01-06 13:09:32.255351: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-06 13:09:32.257745: iinla: Iteration 3 [max: 10]
#> 2026-01-06 13:09:32.540491: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2026-01-06 13:09:32.570114: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-06 13:09:32.572641: iinla: Iteration 4 [max: 10]
#> 2026-01-06 13:09:32.888716: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-06 13:09:32.889957: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-06 13:09:32.892405: iinla: Iteration 5 [max: 10]
#> 2026-01-06 13:09:34.088817: bru: Preprocessing
#> 2026-01-06 13:09:34.157911: iinla: Iteration 1 [max: 1]
#> 2026-01-06 13:09:39.174783: bru: Preprocessing
#> 2026-01-06 13:09:39.284486: iinla: Iteration 1 [max: 1]
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2026-01-06 13:09:17.947993: inlabru loaded (level 1)
#> 2026-01-06 13:09:17.94845: Clear override options (level 1)
#> 2026-01-06 13:09:29.738402: bru: Preprocessing (level 1)
#> 2026-01-06 13:09:29.756891: Evaluate component inputs for each observation model (level 3)
#> 2026-01-06 13:09:29.758593: bru_input(bru_comp_list) (level 4)
#> 2026-01-06 13:09:29.76031: bru_input.bru_comp(x) (level 4)
#> 2026-01-06 13:09:29.762737: bru_input.bm_pipe(x) (level 5)
#> 2026-01-06 13:09:29.765237: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-06 13:09:29.767438: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-06 13:09:29.769692: bru_input(bru_input) for (x) (level 5)
#> 2026-01-06 13:09:29.781068: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-06 13:09:29.783073: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-06 13:09:29.784927: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-06 13:09:29.786647: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-06 13:09:29.788281: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-06 13:09:29.823157: iinla: Start (level 3)
#> 2026-01-06 13:09:29.825922: iinla: Evaluate component linearisations (level 3)
#> 2026-01-06 13:09:29.828023: Linearise components for each observation model (level 3)
#> 2026-01-06 13:09:29.829999: Linearise component 'x' (level 4)
#> 2026-01-06 13:09:29.833932: Linearise component 'Intercept' (level 4)
#> 2026-01-06 13:09:29.837952: iinla: Evaluate component simplifications (level 3)
#> 2026-01-06 13:09:29.83983: Simplify component mappers for each observation model (level 3)
#> 2026-01-06 13:09:29.841759: Simplify component 'x' (level 4)
#> 2026-01-06 13:09:29.845627: Simplify component 'Intercept' (level 4)
#> 2026-01-06 13:09:29.849268: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-06 13:09:29.865652: iinla: Construct inla stack (level 3)
#> 2026-01-06 13:09:29.89181: iinla: Model initialisation completed (level 3)
#> 2026-01-06 13:09:29.893464: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-06 13:09:30.741335: iinla: Computation completed (level 3)
#> 2026-01-06 13:09:30.77002: bru: Preprocessing (level 1)
#> 2026-01-06 13:09:30.780076: Evaluate component inputs for each observation model (level 3)
#> 2026-01-06 13:09:30.781618: bru_input(bru_comp_list) (level 4)
#> 2026-01-06 13:09:30.78332: bru_input.bru_comp(x) (level 4)
#> 2026-01-06 13:09:30.784968: bru_input.bm_pipe(x) (level 5)
#> 2026-01-06 13:09:30.786615: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-06 13:09:30.78815: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-06 13:09:30.78957: bru_input(bru_input) for (x) (level 5)
#> 2026-01-06 13:09:30.798034: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-06 13:09:30.799676: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-06 13:09:30.801569: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-06 13:09:30.803456: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-06 13:09:30.805151: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-06 13:09:30.823594: iinla: Start (level 3)
#> 2026-01-06 13:09:30.825068: iinla: Evaluate component linearisations (level 3)
#> 2026-01-06 13:09:30.826543: Linearise components for each observation model (level 3)
#> 2026-01-06 13:09:30.828248: Linearise component 'x' (level 4)
#> 2026-01-06 13:09:30.831994: Linearise component 'Intercept' (level 4)
#> 2026-01-06 13:09:30.835573: iinla: Evaluate component simplifications (level 3)
#> 2026-01-06 13:09:30.837209: Simplify component mappers for each observation model (level 3)
#> 2026-01-06 13:09:30.839077: Simplify component 'x' (level 4)
#> 2026-01-06 13:09:30.843193: Simplify component 'Intercept' (level 4)
#> 2026-01-06 13:09:30.847602: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-06 13:09:30.856504: iinla: Construct inla stack (level 3)
#> 2026-01-06 13:09:30.873135: iinla: Model initialisation completed (level 3)
#> 2026-01-06 13:09:30.875068: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-06 13:09:31.186661: iinla: Computation completed (level 3)
#> 2026-01-06 13:09:31.214404: bru: Preprocessing (level 1)
#> 2026-01-06 13:09:31.224588: Evaluate component inputs for each observation model (level 3)
#> 2026-01-06 13:09:31.226211: bru_input(bru_comp_list) (level 4)
#> 2026-01-06 13:09:31.227907: bru_input.bru_comp(z) (level 4)
#> 2026-01-06 13:09:31.2296: bru_input.bm_pipe(z) (level 5)
#> 2026-01-06 13:09:31.231466: bru_input.bm_multi(z:mapper) (level 5)
#> 2026-01-06 13:09:31.233206: bru_input.bru_mapper(z:mapper:main) (level 5)
#> 2026-01-06 13:09:31.234806: bru_input(bru_input) for (z) (level 5)
#> 2026-01-06 13:09:31.243475: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-06 13:09:31.245247: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-06 13:09:31.247114: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-06 13:09:31.248986: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-06 13:09:31.250664: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-06 13:09:31.26698: iinla: Start (level 3)
#> 2026-01-06 13:09:31.268422: iinla: Evaluate component linearisations (level 3)
#> 2026-01-06 13:09:31.269892: Linearise components for each observation model (level 3)
#> 2026-01-06 13:09:31.271556: Linearise component 'z' (level 4)
#> 2026-01-06 13:09:31.275104: Linearise component 'Intercept' (level 4)
#> 2026-01-06 13:09:31.278538: iinla: Evaluate component simplifications (level 3)
#> 2026-01-06 13:09:31.279984: Simplify component mappers for each observation model (level 3)
#> 2026-01-06 13:09:31.281674: Simplify component 'z' (level 4)
#> 2026-01-06 13:09:31.285211: Simplify component 'Intercept' (level 4)
#> 2026-01-06 13:09:31.288795: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-06 13:09:31.292484: Linearise with respect to component 'z' (level 5)
#> 2026-01-06 13:09:31.298807: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-06 13:09:31.303169: iinla: Construct inla stack (level 3)
#> 2026-01-06 13:09:31.318377: iinla: Model initialisation completed (level 3)
#> 2026-01-06 13:09:31.320177: iinla: Iteration 1 [max: 10] (level 1)
#> 2026-01-06 13:09:31.613671: iinla: Step rescaling: 61.8%, Contract (norm0 = 2691, norm1 = 2464, norm01 = 494.2) (level 3)
#> 2026-01-06 13:09:31.617192: iinla: Step rescaling: 38.2%, Contract (norm0 = 552.8, norm1 = 411.6, norm01 = 494.2) (level 3)
#> 2026-01-06 13:09:31.621743: iinla: Step rescaling: 27.71%, Approx Optimisation (norm0 = 263, norm1 = 320.6, norm01 = 494.2) (level 3)
#> 2026-01-06 13:09:31.623422: 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-06 13:09:31.624986: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2) (level 2)
#> 2026-01-06 13:09:31.626869: iinla: Evaluate component linearisations (level 3)
#> 2026-01-06 13:09:31.628126: Linearise components for each observation model (level 3)
#> 2026-01-06 13:09:31.629557: Linearise component 'z' (level 4)
#> 2026-01-06 13:09:31.63303: Linearise component 'Intercept' (level 4)
#> 2026-01-06 13:09:31.636349: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-06 13:09:31.639566: Linearise with respect to component 'z' (level 5)
#> 2026-01-06 13:09:31.643596: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-06 13:09:31.658113: iinla: Iteration 2 [max: 10] (level 1)
#> 2026-01-06 13:09:32.217661: iinla: Step rescaling: 162%, Expand (norm0 = 518.3, norm1 = 200.1, norm01 = 320.5) (level 3)
#> 2026-01-06 13:09:32.220553: iinla: Step rescaling: 100%, Overstep (norm0 = 320.2, norm1 = 13.76, norm01 = 320.5) (level 3)
#> 2026-01-06 13:09:32.22399: iinla: Step rescaling: 99.81%, Approx Optimisation (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5) (level 3)
#> 2026-01-06 13:09:32.225497: 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-06 13:09:32.226868: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5) (level 2)
#> 2026-01-06 13:09:32.228574: iinla: Evaluate component linearisations (level 3)
#> 2026-01-06 13:09:32.229657: Linearise components for each observation model (level 3)
#> 2026-01-06 13:09:32.230941: Linearise component 'z' (level 4)
#> 2026-01-06 13:09:32.233938: Linearise component 'Intercept' (level 4)
#> 2026-01-06 13:09:32.236808: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-06 13:09:32.239617: Linearise with respect to component 'z' (level 5)
#> 2026-01-06 13:09:32.243262: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-06 13:09:32.255351: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-06 13:09:32.257745: iinla: Iteration 3 [max: 10] (level 1)
#> 2026-01-06 13:09:32.530575: iinla: Step rescaling: 162%, Expand (norm0 = 21.7, norm1 = 7.954, norm01 = 13.75) (level 3)
#> 2026-01-06 13:09:32.533666: iinla: Step rescaling: 100%, Overstep (norm0 = 13.54, norm1 = 0.2086, norm01 = 13.75) (level 3)
#> 2026-01-06 13:09:32.537359: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75) (level 3)
#> 2026-01-06 13:09:32.538962: 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-06 13:09:32.540491: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75) (level 2)
#> 2026-01-06 13:09:32.542258: iinla: Evaluate component linearisations (level 3)
#> 2026-01-06 13:09:32.54347: Linearise components for each observation model (level 3)
#> 2026-01-06 13:09:32.544876: Linearise component 'z' (level 4)
#> 2026-01-06 13:09:32.548117: Linearise component 'Intercept' (level 4)
#> 2026-01-06 13:09:32.551126: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-06 13:09:32.553981: Linearise with respect to component 'z' (level 5)
#> 2026-01-06 13:09:32.557745: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-06 13:09:32.570114: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-06 13:09:32.572641: iinla: Iteration 4 [max: 10] (level 1)
#> 2026-01-06 13:09:32.850934: iinla: Step rescaling: 162%, Expand (norm0 = 0.01503, norm1 = 0.005741, norm01 = 0.00929) (level 3)
#> 2026-01-06 13:09:32.854077: iinla: Step rescaling: 100%, Overstep (norm0 = 0.00929, norm1 = 3.115e-08, norm01 = 0.00929) (level 3)
#> 2026-01-06 13:09:32.857997: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.00929, norm1 = 3.112e-08, norm01 = 0.00929) (level 3)
#> 2026-01-06 13:09:32.859565: 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-06 13:09:32.861326: iinla: Evaluate component linearisations (level 3)
#> 2026-01-06 13:09:32.862602: Linearise components for each observation model (level 3)
#> 2026-01-06 13:09:32.863981: Linearise component 'z' (level 4)
#> 2026-01-06 13:09:32.867024: Linearise component 'Intercept' (level 4)
#> 2026-01-06 13:09:32.869884: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-06 13:09:32.87253: Linearise with respect to component 'z' (level 5)
#> 2026-01-06 13:09:32.876292: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-06 13:09:32.888716: 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-06 13:09:32.889957: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2026-01-06 13:09:32.892405: iinla: Iteration 5 [max: 10] (level 1)
#> 2026-01-06 13:09:33.186267: iinla: Computation completed (level 3)
#> 2026-01-06 13:09:34.088817: bru: Preprocessing (level 1)
#> 2026-01-06 13:09:34.098692: Evaluate component inputs for each observation model (level 3)
#> 2026-01-06 13:09:34.100035: bru_input(bru_comp_list) (level 4)
#> 2026-01-06 13:09:34.101422: bru_input.bru_comp(field) (level 4)
#> 2026-01-06 13:09:34.102757: bru_input.bm_pipe(field) (level 5)
#> 2026-01-06 13:09:34.104208: bru_input.bm_multi(field:mapper) (level 5)
#> 2026-01-06 13:09:34.105684: bru_input.bru_mapper(field:mapper:main) (level 5)
#> 2026-01-06 13:09:34.107009: bru_input(bru_input) for (field) (level 5)
#> 2026-01-06 13:09:34.120636: iinla: Start (level 3)
#> 2026-01-06 13:09:34.121843: iinla: Evaluate component linearisations (level 3)
#> 2026-01-06 13:09:34.123034: Linearise components for each observation model (level 3)
#> 2026-01-06 13:09:34.124372: Linearise component 'field' (level 4)
#> 2026-01-06 13:09:34.131619: iinla: Evaluate component simplifications (level 3)
#> 2026-01-06 13:09:34.132866: Simplify component mappers for each observation model (level 3)
#> 2026-01-06 13:09:34.134235: Simplify component 'field' (level 4)
#> 2026-01-06 13:09:34.140891: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-06 13:09:34.14573: iinla: Construct inla stack (level 3)
#> 2026-01-06 13:09:34.156469: iinla: Model initialisation completed (level 3)
#> 2026-01-06 13:09:34.157911: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-06 13:09:34.532921: iinla: Computation completed (level 3)
#> 2026-01-06 13:09:36.237011: bru_input(bru_comp_list) (level 4)
#> 2026-01-06 13:09:39.174783: bru: Preprocessing (level 1)
#> 2026-01-06 13:09:39.189153: Evaluate component inputs for each observation model (level 3)
#> 2026-01-06 13:09:39.190465: bru_input(bru_comp_list) (level 4)
#> 2026-01-06 13:09:39.192455: bru_input.bru_comp(x) (level 4)
#> 2026-01-06 13:09:39.193898: bru_input.bm_pipe(x) (level 5)
#> 2026-01-06 13:09:39.195556: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-06 13:09:39.197057: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-06 13:09:39.198485: bru_input(bru_input) for (x) (level 5)
#> 2026-01-06 13:09:39.208061: bru_input(bru_comp_list) (level 4)
#> 2026-01-06 13:09:39.209772: bru_input.bru_comp(x) (level 4)
#> 2026-01-06 13:09:39.211229: bru_input.bm_pipe(x) (level 5)
#> 2026-01-06 13:09:39.212829: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-06 13:09:39.214632: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-06 13:09:39.216264: bru_input(bru_input) for (x) (level 5)
#> 2026-01-06 13:09:39.238135: iinla: Start (level 3)
#> 2026-01-06 13:09:39.239964: iinla: Evaluate component linearisations (level 3)
#> 2026-01-06 13:09:39.241192: Linearise components for each observation model (level 3)
#> 2026-01-06 13:09:39.242665: Linearise component 'x' (level 4)
#> 2026-01-06 13:09:39.246162: Linearise component 'x' (level 4)
#> 2026-01-06 13:09:39.249245: iinla: Evaluate component simplifications (level 3)
#> 2026-01-06 13:09:39.25046: Simplify component mappers for each observation model (level 3)
#> 2026-01-06 13:09:39.251807: Simplify component 'x' (level 4)
#> 2026-01-06 13:09:39.255818: Simplify component 'x' (level 4)
#> 2026-01-06 13:09:39.259256: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-06 13:09:39.265603: iinla: Construct inla stack (level 3)
#> 2026-01-06 13:09:39.282768: iinla: Model initialisation completed (level 3)
#> 2026-01-06 13:09:39.284486: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-06 13:09:39.659413: iinla: Computation completed (level 3)
#> 2026-01-06 13:10:31.199129: bru_input(bru_input) for (LABEL) (level 5)