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-30 15:44:05.325355: inlabru loaded
#> 2026-01-30 15:44:05.325826: Clear override options
#> 2026-01-30 15:44:16.060016: bru: Preprocessing
#> 2026-01-30 15:44:16.177743: iinla: Iteration 1 [max: 1]
#> 2026-01-30 15:44:16.919731: bru: Preprocessing
#> 2026-01-30 15:44:17.016287: iinla: Iteration 1 [max: 1]
#> 2026-01-30 15:44:17.35487: bru: Preprocessing
#> 2026-01-30 15:44:17.463086: iinla: Iteration 1 [max: 10]
#> 2026-01-30 15:44:17.75357: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5)
#> 2026-01-30 15:44:17.784413: iinla: Iteration 2 [max: 10]
#> 2026-01-30 15:44:18.341404: iinla: Step rescaling: 99.5% (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7)
#> 2026-01-30 15:44:18.36846: iinla: Max deviation from previous: 54300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:18.370822: iinla: Iteration 3 [max: 10]
#> 2026-01-30 15:44:18.652066: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02386, norm01 = 13.94)
#> 2026-01-30 15:44:18.679936: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:18.682312: iinla: Iteration 4 [max: 10]
#> 2026-01-30 15:44:18.989071: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:18.991457: iinla: Iteration 5 [max: 10]
#> 2026-01-30 15:44:19.308001: iinla: Max deviation from previous: 0.0511% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:19.309121: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-30 15:44:19.311376: iinla: Iteration 6 [max: 10]
#> 2026-01-30 15:44:20.445733: bru: Preprocessing
#> 2026-01-30 15:44:20.509925: iinla: Iteration 1 [max: 1]
#> 2026-01-30 15:44:24.884696: bru: Preprocessing
format(bru_log())
#> 2026-01-30 15:44:05.325355: inlabru loaded
#> 2026-01-30 15:44:05.325826: Clear override options
#> 2026-01-30 15:44:16.060016: bru: Preprocessing
#> 2026-01-30 15:44:16.074442: Evaluate component inputs for each observation model
#> 2026-01-30 15:44:16.075744: bru_input(bru_comp_list)
#> 2026-01-30 15:44:16.077106: bru_input.bru_comp(x)
#> 2026-01-30 15:44:16.078453: bru_input.bm_pipe(x)
#> 2026-01-30 15:44:16.079907: bru_input.bm_multi(x:mapper)
#> 2026-01-30 15:44:16.081362: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-30 15:44:16.082981: bru_input(bru_input) for (x)
#> 2026-01-30 15:44:16.091041: bru_input.bru_comp(Intercept)
#> 2026-01-30 15:44:16.092338: bru_input.bm_pipe(Intercept)
#> 2026-01-30 15:44:16.093751: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-30 15:44:16.095173: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-30 15:44:16.096449: bru_input(bru_input) for (Intercept)
#> 2026-01-30 15:44:16.113036: iinla: Start
#> 2026-01-30 15:44:16.11422: iinla: Evaluate component linearisations
#> 2026-01-30 15:44:16.115421: Linearise components for each observation model
#> 2026-01-30 15:44:16.116917: Linearise component 'x'
#> 2026-01-30 15:44:16.119977: Linearise component 'Intercept'
#> 2026-01-30 15:44:16.122789: iinla: Evaluate component simplifications
#> 2026-01-30 15:44:16.124047: Simplify component mappers for each observation model
#> 2026-01-30 15:44:16.125593: Simplify component 'x'
#> 2026-01-30 15:44:16.128667: Simplify component 'Intercept'
#> 2026-01-30 15:44:16.131628: iinla: Evaluate predictor linearisation
#> 2026-01-30 15:44:16.144811: iinla: Construct inla stack
#> 2026-01-30 15:44:16.17615: iinla: Model initialisation completed
#> 2026-01-30 15:44:16.177743: iinla: Iteration 1 [max: 1]
#> 2026-01-30 15:44:16.893792: iinla: Computation completed
#> 2026-01-30 15:44:16.919731: bru: Preprocessing
#> 2026-01-30 15:44:16.929518: Evaluate component inputs for each observation model
#> 2026-01-30 15:44:16.931035: bru_input(bru_comp_list)
#> 2026-01-30 15:44:16.932683: bru_input.bru_comp(x)
#> 2026-01-30 15:44:16.934279: bru_input.bm_pipe(x)
#> 2026-01-30 15:44:16.93603: bru_input.bm_multi(x:mapper)
#> 2026-01-30 15:44:16.937829: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-30 15:44:16.939451: bru_input(bru_input) for (x)
#> 2026-01-30 15:44:16.947574: bru_input.bru_comp(Intercept)
#> 2026-01-30 15:44:16.949208: bru_input.bm_pipe(Intercept)
#> 2026-01-30 15:44:16.95096: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-30 15:44:16.952694: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-30 15:44:16.954281: bru_input(bru_input) for (Intercept)
#> 2026-01-30 15:44:16.970401: iinla: Start
#> 2026-01-30 15:44:16.971814: iinla: Evaluate component linearisations
#> 2026-01-30 15:44:16.973207: Linearise components for each observation model
#> 2026-01-30 15:44:16.974863: Linearise component 'x'
#> 2026-01-30 15:44:16.978221: Linearise component 'Intercept'
#> 2026-01-30 15:44:16.981401: iinla: Evaluate component simplifications
#> 2026-01-30 15:44:16.982819: Simplify component mappers for each observation model
#> 2026-01-30 15:44:16.98453: Simplify component 'x'
#> 2026-01-30 15:44:16.987929: Simplify component 'Intercept'
#> 2026-01-30 15:44:16.99129: iinla: Evaluate predictor linearisation
#> 2026-01-30 15:44:16.998939: iinla: Construct inla stack
#> 2026-01-30 15:44:17.013646: iinla: Model initialisation completed
#> 2026-01-30 15:44:17.016287: iinla: Iteration 1 [max: 1]
#> 2026-01-30 15:44:17.32668: iinla: Computation completed
#> 2026-01-30 15:44:17.35487: bru: Preprocessing
#> 2026-01-30 15:44:17.364702: Evaluate component inputs for each observation model
#> 2026-01-30 15:44:17.366216: bru_input(bru_comp_list)
#> 2026-01-30 15:44:17.367892: bru_input.bru_comp(z)
#> 2026-01-30 15:44:17.369537: bru_input.bm_pipe(z)
#> 2026-01-30 15:44:17.371282: bru_input.bm_multi(z:mapper)
#> 2026-01-30 15:44:17.373029: bru_input.bru_mapper(z:mapper:main)
#> 2026-01-30 15:44:17.374623: bru_input(bru_input) for (z)
#> 2026-01-30 15:44:17.382715: bru_input.bru_comp(Intercept)
#> 2026-01-30 15:44:17.384383: bru_input.bm_pipe(Intercept)
#> 2026-01-30 15:44:17.386112: bru_input.bm_multi(Intercept:mapper)
#> 2026-01-30 15:44:17.387908: bru_input.bru_mapper(Intercept:mapper:main)
#> 2026-01-30 15:44:17.389526: bru_input(bru_input) for (Intercept)
#> 2026-01-30 15:44:17.405019: iinla: Start
#> 2026-01-30 15:44:17.40642: iinla: Evaluate component linearisations
#> 2026-01-30 15:44:17.407846: Linearise components for each observation model
#> 2026-01-30 15:44:17.409479: Linearise component 'z'
#> 2026-01-30 15:44:17.412843: Linearise component 'Intercept'
#> 2026-01-30 15:44:17.416146: iinla: Evaluate component simplifications
#> 2026-01-30 15:44:17.417596: Simplify component mappers for each observation model
#> 2026-01-30 15:44:17.419282: Simplify component 'z'
#> 2026-01-30 15:44:17.422889: Simplify component 'Intercept'
#> 2026-01-30 15:44:17.426461: iinla: Evaluate predictor linearisation
#> 2026-01-30 15:44:17.43002: Linearise with respect to component 'z'
#> 2026-01-30 15:44:17.436306: Linearise with respect to component 'Intercept'
#> 2026-01-30 15:44:17.448711: iinla: Construct inla stack
#> 2026-01-30 15:44:17.46166: iinla: Model initialisation completed
#> 2026-01-30 15:44:17.463086: iinla: Iteration 1 [max: 10]
#> 2026-01-30 15:44:17.74358: iinla: Step rescaling: 61.8%, Contract (norm0 = 2399, norm1 = 2208, norm01 = 403.5)
#> 2026-01-30 15:44:17.746758: iinla: Step rescaling: 38.2%, Contract (norm0 = 477.2, norm1 = 350.8, norm01 = 403.5)
#> 2026-01-30 15:44:17.750585: iinla: Step rescaling: 27.01%, Approx Optimisation (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5)
#> 2026-01-30 15:44:17.752125: iinla: |lin1-lin0| = 403.5
#> <eta-lin1,delta>/|delta| = -231
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 123.1
#> 2026-01-30 15:44:17.75357: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5)
#> 2026-01-30 15:44:17.755277: iinla: Evaluate component linearisations
#> 2026-01-30 15:44:17.756417: Linearise components for each observation model
#> 2026-01-30 15:44:17.757749: Linearise component 'z'
#> 2026-01-30 15:44:17.760667: Linearise component 'Intercept'
#> 2026-01-30 15:44:17.76387: iinla: Evaluate predictor linearisation
#> 2026-01-30 15:44:17.76686: Linearise with respect to component 'z'
#> 2026-01-30 15:44:17.770565: Linearise with respect to component 'Intercept'
#> 2026-01-30 15:44:17.784413: iinla: Iteration 2 [max: 10]
#> 2026-01-30 15:44:18.338412: iinla: Step rescaling: 99.5%, Approx Optimisation (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7)
#> 2026-01-30 15:44:18.339933: iinla: |lin1-lin0| = 261.7
#> <eta-lin1,delta>/|delta| = -1.48
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.86
#> 2026-01-30 15:44:18.341404: iinla: Step rescaling: 99.5% (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7)
#> 2026-01-30 15:44:18.343011: iinla: Evaluate component linearisations
#> 2026-01-30 15:44:18.344082: Linearise components for each observation model
#> 2026-01-30 15:44:18.345321: Linearise component 'z'
#> 2026-01-30 15:44:18.348128: Linearise component 'Intercept'
#> 2026-01-30 15:44:18.350806: iinla: Evaluate predictor linearisation
#> 2026-01-30 15:44:18.353343: Linearise with respect to component 'z'
#> 2026-01-30 15:44:18.356737: Linearise with respect to component 'Intercept'
#> 2026-01-30 15:44:18.36846: iinla: Max deviation from previous: 54300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:18.370822: iinla: Iteration 3 [max: 10]
#> 2026-01-30 15:44:18.642835: iinla: Step rescaling: 162%, Expand (norm0 = 21.92, norm1 = 7.98, norm01 = 13.94)
#> 2026-01-30 15:44:18.645715: iinla: Step rescaling: 100%, Overstep (norm0 = 13.7, norm1 = 0.2468, norm01 = 13.94)
#> 2026-01-30 15:44:18.649251: iinla: Step rescaling: 101.8%, Approx Optimisation (norm0 = 13.94, norm1 = 0.02386, norm01 = 13.94)
#> 2026-01-30 15:44:18.650687: iinla: |lin1-lin0| = 13.94
#> <eta-lin1,delta>/|delta| = -5.556e-05
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.02386
#> 2026-01-30 15:44:18.652066: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02386, norm01 = 13.94)
#> 2026-01-30 15:44:18.65397: iinla: Evaluate component linearisations
#> 2026-01-30 15:44:18.655075: Linearise components for each observation model
#> 2026-01-30 15:44:18.656482: Linearise component 'z'
#> 2026-01-30 15:44:18.659381: Linearise component 'Intercept'
#> 2026-01-30 15:44:18.662086: iinla: Evaluate predictor linearisation
#> 2026-01-30 15:44:18.664654: Linearise with respect to component 'z'
#> 2026-01-30 15:44:18.668142: Linearise with respect to component 'Intercept'
#> 2026-01-30 15:44:18.679936: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:18.682312: iinla: Iteration 4 [max: 10]
#> 2026-01-30 15:44:18.953732: iinla: Step rescaling: 162%, Expand (norm0 = 0.03859, norm1 = 0.01474, norm01 = 0.02385)
#> 2026-01-30 15:44:18.956545: iinla: Step rescaling: 100%, Overstep (norm0 = 0.02385, norm1 = 1.944e-07, norm01 = 0.02385)
#> 2026-01-30 15:44:18.959956: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.02385, norm1 = 1.936e-07, norm01 = 0.02385)
#> 2026-01-30 15:44:18.96135: iinla: |lin1-lin0| = 0.02385
#> <eta-lin1,delta>/|delta| = 3.926e-10
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 1.936e-07
#> 2026-01-30 15:44:18.962973: iinla: Evaluate component linearisations
#> 2026-01-30 15:44:18.964045: Linearise components for each observation model
#> 2026-01-30 15:44:18.965492: Linearise component 'z'
#> 2026-01-30 15:44:18.968398: Linearise component 'Intercept'
#> 2026-01-30 15:44:18.971106: iinla: Evaluate predictor linearisation
#> 2026-01-30 15:44:18.973702: Linearise with respect to component 'z'
#> 2026-01-30 15:44:18.977257: Linearise with respect to component 'Intercept'
#> 2026-01-30 15:44:18.989071: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:18.991457: iinla: Iteration 5 [max: 10]
#> 2026-01-30 15:44:19.273052: iinla: Step rescaling: 162%, Expand (norm0 = 3.673e-07, norm1 = 1.403e-07, norm01 = 2.27e-07)
#> 2026-01-30 15:44:19.276002: iinla: Step rescaling: 100%, Overstep (norm0 = 2.27e-07, norm1 = 8.034e-13, norm01 = 2.27e-07)
#> 2026-01-30 15:44:19.279469: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 2.27e-07, norm1 = 4.096e-13, norm01 = 2.27e-07)
#> 2026-01-30 15:44:19.280891: iinla: |lin1-lin0| = 2.27e-07
#> <eta-lin1,delta>/|delta| = -5.981e-14
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 4.052e-13
#> 2026-01-30 15:44:19.282536: iinla: Evaluate component linearisations
#> 2026-01-30 15:44:19.283632: Linearise components for each observation model
#> 2026-01-30 15:44:19.284891: Linearise component 'z'
#> 2026-01-30 15:44:19.287743: Linearise component 'Intercept'
#> 2026-01-30 15:44:19.290522: iinla: Evaluate predictor linearisation
#> 2026-01-30 15:44:19.2931: Linearise with respect to component 'z'
#> 2026-01-30 15:44:19.29652: Linearise with respect to component 'Intercept'
#> 2026-01-30 15:44:19.308001: iinla: Max deviation from previous: 0.0511% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:19.309121: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-30 15:44:19.311376: iinla: Iteration 6 [max: 10]
#> 2026-01-30 15:44:19.589114: iinla: Computation completed
#> 2026-01-30 15:44:20.445733: bru: Preprocessing
#> 2026-01-30 15:44:20.454953: Evaluate component inputs for each observation model
#> 2026-01-30 15:44:20.456172: bru_input(bru_comp_list)
#> 2026-01-30 15:44:20.457473: bru_input.bru_comp(field)
#> 2026-01-30 15:44:20.458724: bru_input.bm_pipe(field)
#> 2026-01-30 15:44:20.460093: bru_input.bm_multi(field:mapper)
#> 2026-01-30 15:44:20.461481: bru_input.bru_mapper(field:mapper:main)
#> 2026-01-30 15:44:20.46273: bru_input(bru_input) for (field)
#> 2026-01-30 15:44:20.476004: iinla: Start
#> 2026-01-30 15:44:20.477101: iinla: Evaluate component linearisations
#> 2026-01-30 15:44:20.478194: Linearise components for each observation model
#> 2026-01-30 15:44:20.479458: Linearise component 'field'
#> 2026-01-30 15:44:20.486427: iinla: Evaluate component simplifications
#> 2026-01-30 15:44:20.487555: Simplify component mappers for each observation model
#> 2026-01-30 15:44:20.488827: Simplify component 'field'
#> 2026-01-30 15:44:20.494933: iinla: Evaluate predictor linearisation
#> 2026-01-30 15:44:20.498328: iinla: Construct inla stack
#> 2026-01-30 15:44:20.508579: iinla: Model initialisation completed
#> 2026-01-30 15:44:20.509925: iinla: Iteration 1 [max: 1]
#> 2026-01-30 15:44:20.868615: iinla: Computation completed
#> 2026-01-30 15:44:22.523024: bru_input(bru_comp_list)
#> 2026-01-30 15:44:24.884696: bru: Preprocessing
#> 2026-01-30 15:44:24.896876: Evaluate component inputs for each observation model
#> 2026-01-30 15:44:24.898076: bru_input(bru_comp_list)
#> 2026-01-30 15:44:24.899388: bru_input.bru_comp(x)
#> 2026-01-30 15:44:24.900624: bru_input.bm_pipe(x)
#> 2026-01-30 15:44:24.902015: bru_input.bm_multi(x:mapper)
#> 2026-01-30 15:44:24.903409: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-30 15:44:24.904649: bru_input(bru_input) for (x)
#> 2026-01-30 15:44:24.912178: bru_input(bru_comp_list)
#> 2026-01-30 15:44:24.913484: bru_input.bru_comp(x)
#> 2026-01-30 15:44:24.914745: bru_input.bm_pipe(x)
#> 2026-01-30 15:44:24.916093: bru_input.bm_multi(x:mapper)
#> 2026-01-30 15:44:24.917454: bru_input.bru_mapper(x:mapper:main)
#> 2026-01-30 15:44:24.918689: bru_input(bru_input) for (x)
#> 2026-01-30 15:44:28.354063: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2026-01-30 15:44:05.325355: inlabru loaded
#> 2026-01-30 15:44:05.325826: Clear override options
#> 2026-01-30 15:44:16.060016: bru: Preprocessing
#> 2026-01-30 15:44:16.177743: iinla: Iteration 1 [max: 1]
#> 2026-01-30 15:44:16.919731: bru: Preprocessing
#> 2026-01-30 15:44:17.016287: iinla: Iteration 1 [max: 1]
#> 2026-01-30 15:44:17.35487: bru: Preprocessing
#> 2026-01-30 15:44:17.463086: iinla: Iteration 1 [max: 10]
#> 2026-01-30 15:44:17.75357: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5)
#> 2026-01-30 15:44:17.784413: iinla: Iteration 2 [max: 10]
#> 2026-01-30 15:44:18.341404: iinla: Step rescaling: 99.5% (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7)
#> 2026-01-30 15:44:18.36846: iinla: Max deviation from previous: 54300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:18.370822: iinla: Iteration 3 [max: 10]
#> 2026-01-30 15:44:18.652066: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02386, norm01 = 13.94)
#> 2026-01-30 15:44:18.679936: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:18.682312: iinla: Iteration 4 [max: 10]
#> 2026-01-30 15:44:18.989071: iinla: Max deviation from previous: 11.4% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:18.991457: iinla: Iteration 5 [max: 10]
#> 2026-01-30 15:44:19.308001: iinla: Max deviation from previous: 0.0511% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2026-01-30 15:44:19.309121: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2026-01-30 15:44:19.311376: iinla: Iteration 6 [max: 10]
#> 2026-01-30 15:44:20.445733: bru: Preprocessing
#> 2026-01-30 15:44:20.509925: iinla: Iteration 1 [max: 1]
#> 2026-01-30 15:44:24.884696: bru: Preprocessing
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2026-01-30 15:44:05.325355: inlabru loaded (level 1)
#> 2026-01-30 15:44:05.325826: Clear override options (level 1)
#> 2026-01-30 15:44:16.060016: bru: Preprocessing (level 1)
#> 2026-01-30 15:44:16.074442: Evaluate component inputs for each observation model (level 3)
#> 2026-01-30 15:44:16.075744: bru_input(bru_comp_list) (level 4)
#> 2026-01-30 15:44:16.077106: bru_input.bru_comp(x) (level 4)
#> 2026-01-30 15:44:16.078453: bru_input.bm_pipe(x) (level 5)
#> 2026-01-30 15:44:16.079907: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-30 15:44:16.081362: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-30 15:44:16.082981: bru_input(bru_input) for (x) (level 5)
#> 2026-01-30 15:44:16.091041: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-30 15:44:16.092338: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-30 15:44:16.093751: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-30 15:44:16.095173: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-30 15:44:16.096449: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-30 15:44:16.113036: iinla: Start (level 3)
#> 2026-01-30 15:44:16.11422: iinla: Evaluate component linearisations (level 3)
#> 2026-01-30 15:44:16.115421: Linearise components for each observation model (level 3)
#> 2026-01-30 15:44:16.116917: Linearise component 'x' (level 4)
#> 2026-01-30 15:44:16.119977: Linearise component 'Intercept' (level 4)
#> 2026-01-30 15:44:16.122789: iinla: Evaluate component simplifications (level 3)
#> 2026-01-30 15:44:16.124047: Simplify component mappers for each observation model (level 3)
#> 2026-01-30 15:44:16.125593: Simplify component 'x' (level 4)
#> 2026-01-30 15:44:16.128667: Simplify component 'Intercept' (level 4)
#> 2026-01-30 15:44:16.131628: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-30 15:44:16.144811: iinla: Construct inla stack (level 3)
#> 2026-01-30 15:44:16.17615: iinla: Model initialisation completed (level 3)
#> 2026-01-30 15:44:16.177743: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-30 15:44:16.893792: iinla: Computation completed (level 3)
#> 2026-01-30 15:44:16.919731: bru: Preprocessing (level 1)
#> 2026-01-30 15:44:16.929518: Evaluate component inputs for each observation model (level 3)
#> 2026-01-30 15:44:16.931035: bru_input(bru_comp_list) (level 4)
#> 2026-01-30 15:44:16.932683: bru_input.bru_comp(x) (level 4)
#> 2026-01-30 15:44:16.934279: bru_input.bm_pipe(x) (level 5)
#> 2026-01-30 15:44:16.93603: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-30 15:44:16.937829: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-30 15:44:16.939451: bru_input(bru_input) for (x) (level 5)
#> 2026-01-30 15:44:16.947574: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-30 15:44:16.949208: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-30 15:44:16.95096: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-30 15:44:16.952694: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-30 15:44:16.954281: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-30 15:44:16.970401: iinla: Start (level 3)
#> 2026-01-30 15:44:16.971814: iinla: Evaluate component linearisations (level 3)
#> 2026-01-30 15:44:16.973207: Linearise components for each observation model (level 3)
#> 2026-01-30 15:44:16.974863: Linearise component 'x' (level 4)
#> 2026-01-30 15:44:16.978221: Linearise component 'Intercept' (level 4)
#> 2026-01-30 15:44:16.981401: iinla: Evaluate component simplifications (level 3)
#> 2026-01-30 15:44:16.982819: Simplify component mappers for each observation model (level 3)
#> 2026-01-30 15:44:16.98453: Simplify component 'x' (level 4)
#> 2026-01-30 15:44:16.987929: Simplify component 'Intercept' (level 4)
#> 2026-01-30 15:44:16.99129: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-30 15:44:16.998939: iinla: Construct inla stack (level 3)
#> 2026-01-30 15:44:17.013646: iinla: Model initialisation completed (level 3)
#> 2026-01-30 15:44:17.016287: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-30 15:44:17.32668: iinla: Computation completed (level 3)
#> 2026-01-30 15:44:17.35487: bru: Preprocessing (level 1)
#> 2026-01-30 15:44:17.364702: Evaluate component inputs for each observation model (level 3)
#> 2026-01-30 15:44:17.366216: bru_input(bru_comp_list) (level 4)
#> 2026-01-30 15:44:17.367892: bru_input.bru_comp(z) (level 4)
#> 2026-01-30 15:44:17.369537: bru_input.bm_pipe(z) (level 5)
#> 2026-01-30 15:44:17.371282: bru_input.bm_multi(z:mapper) (level 5)
#> 2026-01-30 15:44:17.373029: bru_input.bru_mapper(z:mapper:main) (level 5)
#> 2026-01-30 15:44:17.374623: bru_input(bru_input) for (z) (level 5)
#> 2026-01-30 15:44:17.382715: bru_input.bru_comp(Intercept) (level 4)
#> 2026-01-30 15:44:17.384383: bru_input.bm_pipe(Intercept) (level 5)
#> 2026-01-30 15:44:17.386112: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2026-01-30 15:44:17.387908: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2026-01-30 15:44:17.389526: bru_input(bru_input) for (Intercept) (level 5)
#> 2026-01-30 15:44:17.405019: iinla: Start (level 3)
#> 2026-01-30 15:44:17.40642: iinla: Evaluate component linearisations (level 3)
#> 2026-01-30 15:44:17.407846: Linearise components for each observation model (level 3)
#> 2026-01-30 15:44:17.409479: Linearise component 'z' (level 4)
#> 2026-01-30 15:44:17.412843: Linearise component 'Intercept' (level 4)
#> 2026-01-30 15:44:17.416146: iinla: Evaluate component simplifications (level 3)
#> 2026-01-30 15:44:17.417596: Simplify component mappers for each observation model (level 3)
#> 2026-01-30 15:44:17.419282: Simplify component 'z' (level 4)
#> 2026-01-30 15:44:17.422889: Simplify component 'Intercept' (level 4)
#> 2026-01-30 15:44:17.426461: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-30 15:44:17.43002: Linearise with respect to component 'z' (level 5)
#> 2026-01-30 15:44:17.436306: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-30 15:44:17.448711: iinla: Construct inla stack (level 3)
#> 2026-01-30 15:44:17.46166: iinla: Model initialisation completed (level 3)
#> 2026-01-30 15:44:17.463086: iinla: Iteration 1 [max: 10] (level 1)
#> 2026-01-30 15:44:17.74358: iinla: Step rescaling: 61.8%, Contract (norm0 = 2399, norm1 = 2208, norm01 = 403.5) (level 3)
#> 2026-01-30 15:44:17.746758: iinla: Step rescaling: 38.2%, Contract (norm0 = 477.2, norm1 = 350.8, norm01 = 403.5) (level 3)
#> 2026-01-30 15:44:17.750585: iinla: Step rescaling: 27.01%, Approx Optimisation (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5) (level 3)
#> 2026-01-30 15:44:17.752125: iinla: |lin1-lin0| = 403.5
#> <eta-lin1,delta>/|delta| = -231
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 123.1 (level 4)
#> 2026-01-30 15:44:17.75357: iinla: Step rescaling: 27% (norm0 = 211.9, norm1 = 261.7, norm01 = 403.5) (level 2)
#> 2026-01-30 15:44:17.755277: iinla: Evaluate component linearisations (level 3)
#> 2026-01-30 15:44:17.756417: Linearise components for each observation model (level 3)
#> 2026-01-30 15:44:17.757749: Linearise component 'z' (level 4)
#> 2026-01-30 15:44:17.760667: Linearise component 'Intercept' (level 4)
#> 2026-01-30 15:44:17.76387: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-30 15:44:17.76686: Linearise with respect to component 'z' (level 5)
#> 2026-01-30 15:44:17.770565: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-30 15:44:17.784413: iinla: Iteration 2 [max: 10] (level 1)
#> 2026-01-30 15:44:18.338412: iinla: Step rescaling: 99.5%, Approx Optimisation (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7) (level 3)
#> 2026-01-30 15:44:18.339933: iinla: |lin1-lin0| = 261.7
#> <eta-lin1,delta>/|delta| = -1.48
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.86 (level 4)
#> 2026-01-30 15:44:18.341404: iinla: Step rescaling: 99.5% (norm0 = 260.6, norm1 = 13.94, norm01 = 261.7) (level 2)
#> 2026-01-30 15:44:18.343011: iinla: Evaluate component linearisations (level 3)
#> 2026-01-30 15:44:18.344082: Linearise components for each observation model (level 3)
#> 2026-01-30 15:44:18.345321: Linearise component 'z' (level 4)
#> 2026-01-30 15:44:18.348128: Linearise component 'Intercept' (level 4)
#> 2026-01-30 15:44:18.350806: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-30 15:44:18.353343: Linearise with respect to component 'z' (level 5)
#> 2026-01-30 15:44:18.356737: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-30 15:44:18.36846: iinla: Max deviation from previous: 54300% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-30 15:44:18.370822: iinla: Iteration 3 [max: 10] (level 1)
#> 2026-01-30 15:44:18.642835: iinla: Step rescaling: 162%, Expand (norm0 = 21.92, norm1 = 7.98, norm01 = 13.94) (level 3)
#> 2026-01-30 15:44:18.645715: iinla: Step rescaling: 100%, Overstep (norm0 = 13.7, norm1 = 0.2468, norm01 = 13.94) (level 3)
#> 2026-01-30 15:44:18.649251: iinla: Step rescaling: 101.8%, Approx Optimisation (norm0 = 13.94, norm1 = 0.02386, norm01 = 13.94) (level 3)
#> 2026-01-30 15:44:18.650687: iinla: |lin1-lin0| = 13.94
#> <eta-lin1,delta>/|delta| = -5.556e-05
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.02386 (level 4)
#> 2026-01-30 15:44:18.652066: iinla: Step rescaling: 102% (norm0 = 13.94, norm1 = 0.02386, norm01 = 13.94) (level 2)
#> 2026-01-30 15:44:18.65397: iinla: Evaluate component linearisations (level 3)
#> 2026-01-30 15:44:18.655075: Linearise components for each observation model (level 3)
#> 2026-01-30 15:44:18.656482: Linearise component 'z' (level 4)
#> 2026-01-30 15:44:18.659381: Linearise component 'Intercept' (level 4)
#> 2026-01-30 15:44:18.662086: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-30 15:44:18.664654: Linearise with respect to component 'z' (level 5)
#> 2026-01-30 15:44:18.668142: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-30 15:44:18.679936: iinla: Max deviation from previous: 648% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-30 15:44:18.682312: iinla: Iteration 4 [max: 10] (level 1)
#> 2026-01-30 15:44:18.953732: iinla: Step rescaling: 162%, Expand (norm0 = 0.03859, norm1 = 0.01474, norm01 = 0.02385) (level 3)
#> 2026-01-30 15:44:18.956545: iinla: Step rescaling: 100%, Overstep (norm0 = 0.02385, norm1 = 1.944e-07, norm01 = 0.02385) (level 3)
#> 2026-01-30 15:44:18.959956: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.02385, norm1 = 1.936e-07, norm01 = 0.02385) (level 3)
#> 2026-01-30 15:44:18.96135: iinla: |lin1-lin0| = 0.02385
#> <eta-lin1,delta>/|delta| = 3.926e-10
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 1.936e-07 (level 4)
#> 2026-01-30 15:44:18.962973: iinla: Evaluate component linearisations (level 3)
#> 2026-01-30 15:44:18.964045: Linearise components for each observation model (level 3)
#> 2026-01-30 15:44:18.965492: Linearise component 'z' (level 4)
#> 2026-01-30 15:44:18.968398: Linearise component 'Intercept' (level 4)
#> 2026-01-30 15:44:18.971106: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-30 15:44:18.973702: Linearise with respect to component 'z' (level 5)
#> 2026-01-30 15:44:18.977257: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-30 15:44:18.989071: 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-30 15:44:18.991457: iinla: Iteration 5 [max: 10] (level 1)
#> 2026-01-30 15:44:19.273052: iinla: Step rescaling: 162%, Expand (norm0 = 3.673e-07, norm1 = 1.403e-07, norm01 = 2.27e-07) (level 3)
#> 2026-01-30 15:44:19.276002: iinla: Step rescaling: 100%, Overstep (norm0 = 2.27e-07, norm1 = 8.034e-13, norm01 = 2.27e-07) (level 3)
#> 2026-01-30 15:44:19.279469: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 2.27e-07, norm1 = 4.096e-13, norm01 = 2.27e-07) (level 3)
#> 2026-01-30 15:44:19.280891: iinla: |lin1-lin0| = 2.27e-07
#> <eta-lin1,delta>/|delta| = -5.981e-14
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 4.052e-13 (level 4)
#> 2026-01-30 15:44:19.282536: iinla: Evaluate component linearisations (level 3)
#> 2026-01-30 15:44:19.283632: Linearise components for each observation model (level 3)
#> 2026-01-30 15:44:19.284891: Linearise component 'z' (level 4)
#> 2026-01-30 15:44:19.287743: Linearise component 'Intercept' (level 4)
#> 2026-01-30 15:44:19.290522: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-30 15:44:19.2931: Linearise with respect to component 'z' (level 5)
#> 2026-01-30 15:44:19.29652: Linearise with respect to component 'Intercept' (level 5)
#> 2026-01-30 15:44:19.308001: iinla: Max deviation from previous: 0.0511% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2026-01-30 15:44:19.309121: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2026-01-30 15:44:19.311376: iinla: Iteration 6 [max: 10] (level 1)
#> 2026-01-30 15:44:19.589114: iinla: Computation completed (level 3)
#> 2026-01-30 15:44:20.445733: bru: Preprocessing (level 1)
#> 2026-01-30 15:44:20.454953: Evaluate component inputs for each observation model (level 3)
#> 2026-01-30 15:44:20.456172: bru_input(bru_comp_list) (level 4)
#> 2026-01-30 15:44:20.457473: bru_input.bru_comp(field) (level 4)
#> 2026-01-30 15:44:20.458724: bru_input.bm_pipe(field) (level 5)
#> 2026-01-30 15:44:20.460093: bru_input.bm_multi(field:mapper) (level 5)
#> 2026-01-30 15:44:20.461481: bru_input.bru_mapper(field:mapper:main) (level 5)
#> 2026-01-30 15:44:20.46273: bru_input(bru_input) for (field) (level 5)
#> 2026-01-30 15:44:20.476004: iinla: Start (level 3)
#> 2026-01-30 15:44:20.477101: iinla: Evaluate component linearisations (level 3)
#> 2026-01-30 15:44:20.478194: Linearise components for each observation model (level 3)
#> 2026-01-30 15:44:20.479458: Linearise component 'field' (level 4)
#> 2026-01-30 15:44:20.486427: iinla: Evaluate component simplifications (level 3)
#> 2026-01-30 15:44:20.487555: Simplify component mappers for each observation model (level 3)
#> 2026-01-30 15:44:20.488827: Simplify component 'field' (level 4)
#> 2026-01-30 15:44:20.494933: iinla: Evaluate predictor linearisation (level 3)
#> 2026-01-30 15:44:20.498328: iinla: Construct inla stack (level 3)
#> 2026-01-30 15:44:20.508579: iinla: Model initialisation completed (level 3)
#> 2026-01-30 15:44:20.509925: iinla: Iteration 1 [max: 1] (level 1)
#> 2026-01-30 15:44:20.868615: iinla: Computation completed (level 3)
#> 2026-01-30 15:44:22.523024: bru_input(bru_comp_list) (level 4)
#> 2026-01-30 15:44:24.884696: bru: Preprocessing (level 1)
#> 2026-01-30 15:44:24.896876: Evaluate component inputs for each observation model (level 3)
#> 2026-01-30 15:44:24.898076: bru_input(bru_comp_list) (level 4)
#> 2026-01-30 15:44:24.899388: bru_input.bru_comp(x) (level 4)
#> 2026-01-30 15:44:24.900624: bru_input.bm_pipe(x) (level 5)
#> 2026-01-30 15:44:24.902015: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-30 15:44:24.903409: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-30 15:44:24.904649: bru_input(bru_input) for (x) (level 5)
#> 2026-01-30 15:44:24.912178: bru_input(bru_comp_list) (level 4)
#> 2026-01-30 15:44:24.913484: bru_input.bru_comp(x) (level 4)
#> 2026-01-30 15:44:24.914745: bru_input.bm_pipe(x) (level 5)
#> 2026-01-30 15:44:24.916093: bru_input.bm_multi(x:mapper) (level 5)
#> 2026-01-30 15:44:24.917454: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2026-01-30 15:44:24.918689: bru_input(bru_input) for (x) (level 5)
#> 2026-01-30 15:44:28.354063: bru_input(bru_input) for (LABEL) (level 5)