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)
#> 2025-10-28 17:12:38.766949: inlabru loaded
#> 2025-10-28 17:12:38.767427: Clear override options
#> 2025-10-28 17:12:49.862344: bru: Preprocessing
#> 2025-10-28 17:12:49.968634: iinla: Iteration 1 [max: 1]
#> 2025-10-28 17:12:50.854667: bru: Preprocessing
#> 2025-10-28 17:12:50.938981: iinla: Iteration 1 [max: 1]
#> 2025-10-28 17:12:51.401113: bru: Preprocessing
#> 2025-10-28 17:12:51.498951: iinla: Iteration 1 [max: 10]
#> 2025-10-28 17:12:51.898813: iinla: Step rescaling: 27.6% (norm0 = 195.2, norm1 = 238.1, norm01 = 367.3)
#> 2025-10-28 17:12:51.928733: iinla: Iteration 2 [max: 10]
#> 2025-10-28 17:12:52.62565: iinla: Step rescaling: 99.8% (norm0 = 237.5, norm1 = 10.71, norm01 = 238.2)
#> 2025-10-28 17:12:52.653263: iinla: Max deviation from previous: 48800% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-10-28 17:12:52.655756: iinla: Iteration 3 [max: 10]
#> 2025-10-28 17:12:53.049083: iinla: Step rescaling: 102% (norm0 = 10.71, norm1 = 0.009367, norm01 = 10.71)
#> 2025-10-28 17:12:53.077408: iinla: Max deviation from previous: 496% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-10-28 17:12:53.079902: iinla: Iteration 4 [max: 10]
#> 2025-10-28 17:12:53.503129: iinla: Max deviation from previous: 7.76% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-10-28 17:12:53.504345: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-10-28 17:12:53.506945: iinla: Iteration 5 [max: 10]
#> 2025-10-28 17:12:54.821639: bru: Preprocessing
#> 2025-10-28 17:12:54.878606: iinla: Iteration 1 [max: 1]
#> 2025-10-28 17:13:00.788161: bru: Preprocessing
#> 2025-10-28 17:13:00.877689: iinla: Iteration 1 [max: 1]
format(bru_log())
#> 2025-10-28 17:12:38.766949: inlabru loaded
#> 2025-10-28 17:12:38.767427: Clear override options
#> 2025-10-28 17:12:49.862344: bru: Preprocessing
#> 2025-10-28 17:12:49.874681: Evaluate component inputs for each observation model
#> 2025-10-28 17:12:49.876081: bru_input(bru_comp_list)
#> 2025-10-28 17:12:49.877524: bru_input.bru_comp(x)
#> 2025-10-28 17:12:49.879217: bru_input(bru_input) for (x)
#> 2025-10-28 17:12:49.887189: bru_input.bru_comp(Intercept)
#> 2025-10-28 17:12:49.888616: bru_input(bru_input) for (Intercept)
#> 2025-10-28 17:12:49.902521: iinla: Start
#> 2025-10-28 17:12:49.903756: iinla: Evaluate component linearisations
#> 2025-10-28 17:12:49.905011: Linearise components for each observation model
#> 2025-10-28 17:12:49.906448: Linearise component 'x'
#> 2025-10-28 17:12:49.910462: Linearise component 'Intercept'
#> 2025-10-28 17:12:49.913513: iinla: Evaluate component simplifications
#> 2025-10-28 17:12:49.914841: Simplify component mappers for each observation model
#> 2025-10-28 17:12:49.916246: Simplify component 'x'
#> 2025-10-28 17:12:49.919559: Simplify component 'Intercept'
#> 2025-10-28 17:12:49.922937: iinla: Evaluate predictor linearisation
#> 2025-10-28 17:12:49.935742: iinla: Construct inla stack
#> 2025-10-28 17:12:49.966412: iinla: Model initialisation completed
#> 2025-10-28 17:12:49.968634: iinla: Iteration 1 [max: 1]
#> 2025-10-28 17:12:50.854667: bru: Preprocessing
#> 2025-10-28 17:12:50.860399: Evaluate component inputs for each observation model
#> 2025-10-28 17:12:50.862113: bru_input(bru_comp_list)
#> 2025-10-28 17:12:50.863925: bru_input.bru_comp(x)
#> 2025-10-28 17:12:50.865792: bru_input(bru_input) for (x)
#> 2025-10-28 17:12:50.874135: bru_input.bru_comp(Intercept)
#> 2025-10-28 17:12:50.875993: bru_input(bru_input) for (Intercept)
#> 2025-10-28 17:12:50.889732: iinla: Start
#> 2025-10-28 17:12:50.891318: iinla: Evaluate component linearisations
#> 2025-10-28 17:12:50.892874: Linearise components for each observation model
#> 2025-10-28 17:12:50.894583: Linearise component 'x'
#> 2025-10-28 17:12:50.898508: Linearise component 'Intercept'
#> 2025-10-28 17:12:50.902269: iinla: Evaluate component simplifications
#> 2025-10-28 17:12:50.903968: Simplify component mappers for each observation model
#> 2025-10-28 17:12:50.90569: Simplify component 'x'
#> 2025-10-28 17:12:50.909707: Simplify component 'Intercept'
#> 2025-10-28 17:12:50.91369: iinla: Evaluate predictor linearisation
#> 2025-10-28 17:12:50.921397: iinla: Construct inla stack
#> 2025-10-28 17:12:50.937112: iinla: Model initialisation completed
#> 2025-10-28 17:12:50.938981: iinla: Iteration 1 [max: 1]
#> 2025-10-28 17:12:51.401113: bru: Preprocessing
#> 2025-10-28 17:12:51.406824: Evaluate component inputs for each observation model
#> 2025-10-28 17:12:51.408565: bru_input(bru_comp_list)
#> 2025-10-28 17:12:51.410426: bru_input.bru_comp(z)
#> 2025-10-28 17:12:51.412365: bru_input(bru_input) for (z)
#> 2025-10-28 17:12:51.422538: bru_input.bru_comp(Intercept)
#> 2025-10-28 17:12:51.424575: bru_input(bru_input) for (Intercept)
#> 2025-10-28 17:12:51.440989: iinla: Start
#> 2025-10-28 17:12:51.442654: iinla: Evaluate component linearisations
#> 2025-10-28 17:12:51.444269: Linearise components for each observation model
#> 2025-10-28 17:12:51.44611: Linearise component 'z'
#> 2025-10-28 17:12:51.450645: Linearise component 'Intercept'
#> 2025-10-28 17:12:51.454627: iinla: Evaluate component simplifications
#> 2025-10-28 17:12:51.456283: Simplify component mappers for each observation model
#> 2025-10-28 17:12:51.458033: Simplify component 'z'
#> 2025-10-28 17:12:51.462395: Simplify component 'Intercept'
#> 2025-10-28 17:12:51.466562: iinla: Evaluate predictor linearisation
#> 2025-10-28 17:12:51.470128: Linearise with respect to component 'z'
#> 2025-10-28 17:12:51.477058: Linearise with respect to component 'Intercept'
#> 2025-10-28 17:12:51.481239: iinla: Construct inla stack
#> 2025-10-28 17:12:51.497052: iinla: Model initialisation completed
#> 2025-10-28 17:12:51.498951: iinla: Iteration 1 [max: 10]
#> 2025-10-28 17:12:51.889613: iinla: Step rescaling: 61.8%, Contract (norm0 = 2036, norm1 = 1866, norm01 = 367.3)
#> 2025-10-28 17:12:51.892431: iinla: Step rescaling: 38.2%, Contract (norm0 = 415.8, norm1 = 308.4, norm01 = 367.3)
#> 2025-10-28 17:12:51.895793: iinla: Step rescaling: 27.57%, Approx Optimisation (norm0 = 195.2, norm1 = 238.1, norm01 = 367.3)
#> 2025-10-28 17:12:51.897329: iinla: |lin1-lin0| = 367.3
#> <eta-lin1,delta>/|delta| = -209
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 114.1
#> 2025-10-28 17:12:51.898813: iinla: Step rescaling: 27.6% (norm0 = 195.2, norm1 = 238.1, norm01 = 367.3)
#> 2025-10-28 17:12:51.900571: iinla: Evaluate component linearisations
#> 2025-10-28 17:12:51.901761: Linearise components for each observation model
#> 2025-10-28 17:12:51.903095: Linearise component 'z'
#> 2025-10-28 17:12:51.906341: Linearise component 'Intercept'
#> 2025-10-28 17:12:51.909489: iinla: Evaluate predictor linearisation
#> 2025-10-28 17:12:51.911828: Linearise with respect to component 'z'
#> 2025-10-28 17:12:51.915405: Linearise with respect to component 'Intercept'
#> 2025-10-28 17:12:51.928733: iinla: Iteration 2 [max: 10]
#> 2025-10-28 17:12:52.617014: iinla: Step rescaling: 162%, Expand (norm0 = 385.5, norm1 = 149.1, norm01 = 238.2)
#> 2025-10-28 17:12:52.619648: iinla: Step rescaling: 100%, Overstep (norm0 = 238, norm1 = 10.72, norm01 = 238.2)
#> 2025-10-28 17:12:52.622789: iinla: Step rescaling: 99.76%, Approx Optimisation (norm0 = 237.5, norm1 = 10.71, norm01 = 238.2)
#> 2025-10-28 17:12:52.624247: iinla: |lin1-lin0| = 238.2
#> <eta-lin1,delta>/|delta| = -0.9636
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 10.66
#> 2025-10-28 17:12:52.62565: iinla: Step rescaling: 99.8% (norm0 = 237.5, norm1 = 10.71, norm01 = 238.2)
#> 2025-10-28 17:12:52.627355: iinla: Evaluate component linearisations
#> 2025-10-28 17:12:52.628471: Linearise components for each observation model
#> 2025-10-28 17:12:52.629701: Linearise component 'z'
#> 2025-10-28 17:12:52.632846: Linearise component 'Intercept'
#> 2025-10-28 17:12:52.635897: iinla: Evaluate predictor linearisation
#> 2025-10-28 17:12:52.638178: Linearise with respect to component 'z'
#> 2025-10-28 17:12:52.641514: Linearise with respect to component 'Intercept'
#> 2025-10-28 17:12:52.653263: iinla: Max deviation from previous: 48800% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-10-28 17:12:52.655756: iinla: Iteration 3 [max: 10]
#> 2025-10-28 17:12:53.040324: iinla: Step rescaling: 162%, Expand (norm0 = 16.9, norm1 = 6.184, norm01 = 10.71)
#> 2025-10-28 17:12:53.042877: iinla: Step rescaling: 100%, Overstep (norm0 = 10.54, norm1 = 0.1679, norm01 = 10.71)
#> 2025-10-28 17:12:53.046078: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 10.71, norm1 = 0.009367, norm01 = 10.71)
#> 2025-10-28 17:12:53.047636: iinla: |lin1-lin0| = 10.71
#> <eta-lin1,delta>/|delta| = -4.349e-06
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.009367
#> 2025-10-28 17:12:53.049083: iinla: Step rescaling: 102% (norm0 = 10.71, norm1 = 0.009367, norm01 = 10.71)
#> 2025-10-28 17:12:53.050775: iinla: Evaluate component linearisations
#> 2025-10-28 17:12:53.051913: Linearise components for each observation model
#> 2025-10-28 17:12:53.053174: Linearise component 'z'
#> 2025-10-28 17:12:53.056442: Linearise component 'Intercept'
#> 2025-10-28 17:12:53.059616: iinla: Evaluate predictor linearisation
#> 2025-10-28 17:12:53.061938: Linearise with respect to component 'z'
#> 2025-10-28 17:12:53.065431: Linearise with respect to component 'Intercept'
#> 2025-10-28 17:12:53.077408: iinla: Max deviation from previous: 496% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-10-28 17:12:53.079902: iinla: Iteration 4 [max: 10]
#> 2025-10-28 17:12:53.466845: iinla: Step rescaling: 162%, Expand (norm0 = 0.01515, norm1 = 0.005788, norm01 = 0.009365)
#> 2025-10-28 17:12:53.469539: iinla: Step rescaling: 100%, Overstep (norm0 = 0.009365, norm1 = 3.802e-08, norm01 = 0.009365)
#> 2025-10-28 17:12:53.472948: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.009365, norm1 = 3.797e-08, norm01 = 0.009365)
#> 2025-10-28 17:12:53.474654: iinla: |lin1-lin0| = 0.009365
#> <eta-lin1,delta>/|delta| = 4.387e-11
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 3.797e-08
#> 2025-10-28 17:12:53.476563: iinla: Evaluate component linearisations
#> 2025-10-28 17:12:53.477715: Linearise components for each observation model
#> 2025-10-28 17:12:53.479009: Linearise component 'z'
#> 2025-10-28 17:12:53.482255: Linearise component 'Intercept'
#> 2025-10-28 17:12:53.485313: iinla: Evaluate predictor linearisation
#> 2025-10-28 17:12:53.487647: Linearise with respect to component 'z'
#> 2025-10-28 17:12:53.491076: Linearise with respect to component 'Intercept'
#> 2025-10-28 17:12:53.503129: iinla: Max deviation from previous: 7.76% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-10-28 17:12:53.504345: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-10-28 17:12:53.506945: iinla: Iteration 5 [max: 10]
#> 2025-10-28 17:12:54.821639: bru: Preprocessing
#> 2025-10-28 17:12:54.830513: Evaluate component inputs for each observation model
#> 2025-10-28 17:12:54.831781: bru_input(bru_comp_list)
#> 2025-10-28 17:12:54.833189: bru_input.bru_comp(field)
#> 2025-10-28 17:12:54.834588: bru_input(bru_input) for (field)
#> 2025-10-28 17:12:54.847659: iinla: Start
#> 2025-10-28 17:12:54.848907: iinla: Evaluate component linearisations
#> 2025-10-28 17:12:54.850132: Linearise components for each observation model
#> 2025-10-28 17:12:54.851469: Linearise component 'field'
#> 2025-10-28 17:12:54.856473: iinla: Evaluate component simplifications
#> 2025-10-28 17:12:54.857672: Simplify component mappers for each observation model
#> 2025-10-28 17:12:54.858931: Simplify component 'field'
#> 2025-10-28 17:12:54.863423: iinla: Evaluate predictor linearisation
#> 2025-10-28 17:12:54.866608: iinla: Construct inla stack
#> 2025-10-28 17:12:54.877164: iinla: Model initialisation completed
#> 2025-10-28 17:12:54.878606: iinla: Iteration 1 [max: 1]
#> 2025-10-28 17:12:57.310986: bru_input(bru_comp_list)
#> 2025-10-28 17:13:00.788161: bru: Preprocessing
#> 2025-10-28 17:13:00.80156: Evaluate component inputs for each observation model
#> 2025-10-28 17:13:00.802813: bru_input(bru_comp_list)
#> 2025-10-28 17:13:00.804153: bru_input.bru_comp(x)
#> 2025-10-28 17:13:00.805515: bru_input(bru_input) for (x)
#> 2025-10-28 17:13:00.813344: bru_input(bru_comp_list)
#> 2025-10-28 17:13:00.814883: bru_input.bru_comp(x)
#> 2025-10-28 17:13:00.816362: bru_input(bru_input) for (x)
#> 2025-10-28 17:13:00.828684: iinla: Start
#> 2025-10-28 17:13:00.837063: iinla: Evaluate component linearisations
#> 2025-10-28 17:13:00.838237: Linearise components for each observation model
#> 2025-10-28 17:13:00.839487: Linearise component 'x'
#> 2025-10-28 17:13:00.842913: Linearise component 'x'
#> 2025-10-28 17:13:00.845963: iinla: Evaluate component simplifications
#> 2025-10-28 17:13:00.847135: Simplify component mappers for each observation model
#> 2025-10-28 17:13:00.84837: Simplify component 'x'
#> 2025-10-28 17:13:00.851771: Simplify component 'x'
#> 2025-10-28 17:13:00.855079: iinla: Evaluate predictor linearisation
#> 2025-10-28 17:13:00.861715: iinla: Construct inla stack
#> 2025-10-28 17:13:00.876318: iinla: Model initialisation completed
#> 2025-10-28 17:13:00.877689: iinla: Iteration 1 [max: 1]
#> 2025-10-28 17:13:02.057086: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2025-10-28 17:12:38.766949: inlabru loaded
#> 2025-10-28 17:12:38.767427: Clear override options
#> 2025-10-28 17:12:49.862344: bru: Preprocessing
#> 2025-10-28 17:12:49.968634: iinla: Iteration 1 [max: 1]
#> 2025-10-28 17:12:50.854667: bru: Preprocessing
#> 2025-10-28 17:12:50.938981: iinla: Iteration 1 [max: 1]
#> 2025-10-28 17:12:51.401113: bru: Preprocessing
#> 2025-10-28 17:12:51.498951: iinla: Iteration 1 [max: 10]
#> 2025-10-28 17:12:51.898813: iinla: Step rescaling: 27.6% (norm0 = 195.2, norm1 = 238.1, norm01 = 367.3)
#> 2025-10-28 17:12:51.928733: iinla: Iteration 2 [max: 10]
#> 2025-10-28 17:12:52.62565: iinla: Step rescaling: 99.8% (norm0 = 237.5, norm1 = 10.71, norm01 = 238.2)
#> 2025-10-28 17:12:52.653263: iinla: Max deviation from previous: 48800% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-10-28 17:12:52.655756: iinla: Iteration 3 [max: 10]
#> 2025-10-28 17:12:53.049083: iinla: Step rescaling: 102% (norm0 = 10.71, norm1 = 0.009367, norm01 = 10.71)
#> 2025-10-28 17:12:53.077408: iinla: Max deviation from previous: 496% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-10-28 17:12:53.079902: iinla: Iteration 4 [max: 10]
#> 2025-10-28 17:12:53.503129: iinla: Max deviation from previous: 7.76% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-10-28 17:12:53.504345: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-10-28 17:12:53.506945: iinla: Iteration 5 [max: 10]
#> 2025-10-28 17:12:54.821639: bru: Preprocessing
#> 2025-10-28 17:12:54.878606: iinla: Iteration 1 [max: 1]
#> 2025-10-28 17:13:00.788161: bru: Preprocessing
#> 2025-10-28 17:13:00.877689: iinla: Iteration 1 [max: 1]
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2025-10-28 17:12:38.766949: inlabru loaded (level 1)
#> 2025-10-28 17:12:38.767427: Clear override options (level 1)
#> 2025-10-28 17:12:49.862344: bru: Preprocessing (level 1)
#> 2025-10-28 17:12:49.874681: Evaluate component inputs for each observation model (level 3)
#> 2025-10-28 17:12:49.876081: bru_input(bru_comp_list) (level 4)
#> 2025-10-28 17:12:49.877524: bru_input.bru_comp(x) (level 4)
#> 2025-10-28 17:12:49.879217: bru_input(bru_input) for (x) (level 5)
#> 2025-10-28 17:12:49.887189: bru_input.bru_comp(Intercept) (level 4)
#> 2025-10-28 17:12:49.888616: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-10-28 17:12:49.902521: iinla: Start (level 3)
#> 2025-10-28 17:12:49.903756: iinla: Evaluate component linearisations (level 3)
#> 2025-10-28 17:12:49.905011: Linearise components for each observation model (level 3)
#> 2025-10-28 17:12:49.906448: Linearise component 'x' (level 4)
#> 2025-10-28 17:12:49.910462: Linearise component 'Intercept' (level 4)
#> 2025-10-28 17:12:49.913513: iinla: Evaluate component simplifications (level 3)
#> 2025-10-28 17:12:49.914841: Simplify component mappers for each observation model (level 3)
#> 2025-10-28 17:12:49.916246: Simplify component 'x' (level 4)
#> 2025-10-28 17:12:49.919559: Simplify component 'Intercept' (level 4)
#> 2025-10-28 17:12:49.922937: iinla: Evaluate predictor linearisation (level 3)
#> 2025-10-28 17:12:49.935742: iinla: Construct inla stack (level 3)
#> 2025-10-28 17:12:49.966412: iinla: Model initialisation completed (level 3)
#> 2025-10-28 17:12:49.968634: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-10-28 17:12:50.854667: bru: Preprocessing (level 1)
#> 2025-10-28 17:12:50.860399: Evaluate component inputs for each observation model (level 3)
#> 2025-10-28 17:12:50.862113: bru_input(bru_comp_list) (level 4)
#> 2025-10-28 17:12:50.863925: bru_input.bru_comp(x) (level 4)
#> 2025-10-28 17:12:50.865792: bru_input(bru_input) for (x) (level 5)
#> 2025-10-28 17:12:50.874135: bru_input.bru_comp(Intercept) (level 4)
#> 2025-10-28 17:12:50.875993: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-10-28 17:12:50.889732: iinla: Start (level 3)
#> 2025-10-28 17:12:50.891318: iinla: Evaluate component linearisations (level 3)
#> 2025-10-28 17:12:50.892874: Linearise components for each observation model (level 3)
#> 2025-10-28 17:12:50.894583: Linearise component 'x' (level 4)
#> 2025-10-28 17:12:50.898508: Linearise component 'Intercept' (level 4)
#> 2025-10-28 17:12:50.902269: iinla: Evaluate component simplifications (level 3)
#> 2025-10-28 17:12:50.903968: Simplify component mappers for each observation model (level 3)
#> 2025-10-28 17:12:50.90569: Simplify component 'x' (level 4)
#> 2025-10-28 17:12:50.909707: Simplify component 'Intercept' (level 4)
#> 2025-10-28 17:12:50.91369: iinla: Evaluate predictor linearisation (level 3)
#> 2025-10-28 17:12:50.921397: iinla: Construct inla stack (level 3)
#> 2025-10-28 17:12:50.937112: iinla: Model initialisation completed (level 3)
#> 2025-10-28 17:12:50.938981: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-10-28 17:12:51.401113: bru: Preprocessing (level 1)
#> 2025-10-28 17:12:51.406824: Evaluate component inputs for each observation model (level 3)
#> 2025-10-28 17:12:51.408565: bru_input(bru_comp_list) (level 4)
#> 2025-10-28 17:12:51.410426: bru_input.bru_comp(z) (level 4)
#> 2025-10-28 17:12:51.412365: bru_input(bru_input) for (z) (level 5)
#> 2025-10-28 17:12:51.422538: bru_input.bru_comp(Intercept) (level 4)
#> 2025-10-28 17:12:51.424575: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-10-28 17:12:51.440989: iinla: Start (level 3)
#> 2025-10-28 17:12:51.442654: iinla: Evaluate component linearisations (level 3)
#> 2025-10-28 17:12:51.444269: Linearise components for each observation model (level 3)
#> 2025-10-28 17:12:51.44611: Linearise component 'z' (level 4)
#> 2025-10-28 17:12:51.450645: Linearise component 'Intercept' (level 4)
#> 2025-10-28 17:12:51.454627: iinla: Evaluate component simplifications (level 3)
#> 2025-10-28 17:12:51.456283: Simplify component mappers for each observation model (level 3)
#> 2025-10-28 17:12:51.458033: Simplify component 'z' (level 4)
#> 2025-10-28 17:12:51.462395: Simplify component 'Intercept' (level 4)
#> 2025-10-28 17:12:51.466562: iinla: Evaluate predictor linearisation (level 3)
#> 2025-10-28 17:12:51.470128: Linearise with respect to component 'z' (level 5)
#> 2025-10-28 17:12:51.477058: Linearise with respect to component 'Intercept' (level 5)
#> 2025-10-28 17:12:51.481239: iinla: Construct inla stack (level 3)
#> 2025-10-28 17:12:51.497052: iinla: Model initialisation completed (level 3)
#> 2025-10-28 17:12:51.498951: iinla: Iteration 1 [max: 10] (level 1)
#> 2025-10-28 17:12:51.889613: iinla: Step rescaling: 61.8%, Contract (norm0 = 2036, norm1 = 1866, norm01 = 367.3) (level 3)
#> 2025-10-28 17:12:51.892431: iinla: Step rescaling: 38.2%, Contract (norm0 = 415.8, norm1 = 308.4, norm01 = 367.3) (level 3)
#> 2025-10-28 17:12:51.895793: iinla: Step rescaling: 27.57%, Approx Optimisation (norm0 = 195.2, norm1 = 238.1, norm01 = 367.3) (level 3)
#> 2025-10-28 17:12:51.897329: iinla: |lin1-lin0| = 367.3
#> <eta-lin1,delta>/|delta| = -209
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 114.1 (level 4)
#> 2025-10-28 17:12:51.898813: iinla: Step rescaling: 27.6% (norm0 = 195.2, norm1 = 238.1, norm01 = 367.3) (level 2)
#> 2025-10-28 17:12:51.900571: iinla: Evaluate component linearisations (level 3)
#> 2025-10-28 17:12:51.901761: Linearise components for each observation model (level 3)
#> 2025-10-28 17:12:51.903095: Linearise component 'z' (level 4)
#> 2025-10-28 17:12:51.906341: Linearise component 'Intercept' (level 4)
#> 2025-10-28 17:12:51.909489: iinla: Evaluate predictor linearisation (level 3)
#> 2025-10-28 17:12:51.911828: Linearise with respect to component 'z' (level 5)
#> 2025-10-28 17:12:51.915405: Linearise with respect to component 'Intercept' (level 5)
#> 2025-10-28 17:12:51.928733: iinla: Iteration 2 [max: 10] (level 1)
#> 2025-10-28 17:12:52.617014: iinla: Step rescaling: 162%, Expand (norm0 = 385.5, norm1 = 149.1, norm01 = 238.2) (level 3)
#> 2025-10-28 17:12:52.619648: iinla: Step rescaling: 100%, Overstep (norm0 = 238, norm1 = 10.72, norm01 = 238.2) (level 3)
#> 2025-10-28 17:12:52.622789: iinla: Step rescaling: 99.76%, Approx Optimisation (norm0 = 237.5, norm1 = 10.71, norm01 = 238.2) (level 3)
#> 2025-10-28 17:12:52.624247: iinla: |lin1-lin0| = 238.2
#> <eta-lin1,delta>/|delta| = -0.9636
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 10.66 (level 4)
#> 2025-10-28 17:12:52.62565: iinla: Step rescaling: 99.8% (norm0 = 237.5, norm1 = 10.71, norm01 = 238.2) (level 2)
#> 2025-10-28 17:12:52.627355: iinla: Evaluate component linearisations (level 3)
#> 2025-10-28 17:12:52.628471: Linearise components for each observation model (level 3)
#> 2025-10-28 17:12:52.629701: Linearise component 'z' (level 4)
#> 2025-10-28 17:12:52.632846: Linearise component 'Intercept' (level 4)
#> 2025-10-28 17:12:52.635897: iinla: Evaluate predictor linearisation (level 3)
#> 2025-10-28 17:12:52.638178: Linearise with respect to component 'z' (level 5)
#> 2025-10-28 17:12:52.641514: Linearise with respect to component 'Intercept' (level 5)
#> 2025-10-28 17:12:52.653263: iinla: Max deviation from previous: 48800% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-10-28 17:12:52.655756: iinla: Iteration 3 [max: 10] (level 1)
#> 2025-10-28 17:12:53.040324: iinla: Step rescaling: 162%, Expand (norm0 = 16.9, norm1 = 6.184, norm01 = 10.71) (level 3)
#> 2025-10-28 17:12:53.042877: iinla: Step rescaling: 100%, Overstep (norm0 = 10.54, norm1 = 0.1679, norm01 = 10.71) (level 3)
#> 2025-10-28 17:12:53.046078: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 10.71, norm1 = 0.009367, norm01 = 10.71) (level 3)
#> 2025-10-28 17:12:53.047636: iinla: |lin1-lin0| = 10.71
#> <eta-lin1,delta>/|delta| = -4.349e-06
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.009367 (level 4)
#> 2025-10-28 17:12:53.049083: iinla: Step rescaling: 102% (norm0 = 10.71, norm1 = 0.009367, norm01 = 10.71) (level 2)
#> 2025-10-28 17:12:53.050775: iinla: Evaluate component linearisations (level 3)
#> 2025-10-28 17:12:53.051913: Linearise components for each observation model (level 3)
#> 2025-10-28 17:12:53.053174: Linearise component 'z' (level 4)
#> 2025-10-28 17:12:53.056442: Linearise component 'Intercept' (level 4)
#> 2025-10-28 17:12:53.059616: iinla: Evaluate predictor linearisation (level 3)
#> 2025-10-28 17:12:53.061938: Linearise with respect to component 'z' (level 5)
#> 2025-10-28 17:12:53.065431: Linearise with respect to component 'Intercept' (level 5)
#> 2025-10-28 17:12:53.077408: iinla: Max deviation from previous: 496% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-10-28 17:12:53.079902: iinla: Iteration 4 [max: 10] (level 1)
#> 2025-10-28 17:12:53.466845: iinla: Step rescaling: 162%, Expand (norm0 = 0.01515, norm1 = 0.005788, norm01 = 0.009365) (level 3)
#> 2025-10-28 17:12:53.469539: iinla: Step rescaling: 100%, Overstep (norm0 = 0.009365, norm1 = 3.802e-08, norm01 = 0.009365) (level 3)
#> 2025-10-28 17:12:53.472948: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.009365, norm1 = 3.797e-08, norm01 = 0.009365) (level 3)
#> 2025-10-28 17:12:53.474654: iinla: |lin1-lin0| = 0.009365
#> <eta-lin1,delta>/|delta| = 4.387e-11
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 3.797e-08 (level 4)
#> 2025-10-28 17:12:53.476563: iinla: Evaluate component linearisations (level 3)
#> 2025-10-28 17:12:53.477715: Linearise components for each observation model (level 3)
#> 2025-10-28 17:12:53.479009: Linearise component 'z' (level 4)
#> 2025-10-28 17:12:53.482255: Linearise component 'Intercept' (level 4)
#> 2025-10-28 17:12:53.485313: iinla: Evaluate predictor linearisation (level 3)
#> 2025-10-28 17:12:53.487647: Linearise with respect to component 'z' (level 5)
#> 2025-10-28 17:12:53.491076: Linearise with respect to component 'Intercept' (level 5)
#> 2025-10-28 17:12:53.503129: iinla: Max deviation from previous: 7.76% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-10-28 17:12:53.504345: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2025-10-28 17:12:53.506945: iinla: Iteration 5 [max: 10] (level 1)
#> 2025-10-28 17:12:54.821639: bru: Preprocessing (level 1)
#> 2025-10-28 17:12:54.830513: Evaluate component inputs for each observation model (level 3)
#> 2025-10-28 17:12:54.831781: bru_input(bru_comp_list) (level 4)
#> 2025-10-28 17:12:54.833189: bru_input.bru_comp(field) (level 4)
#> 2025-10-28 17:12:54.834588: bru_input(bru_input) for (field) (level 5)
#> 2025-10-28 17:12:54.847659: iinla: Start (level 3)
#> 2025-10-28 17:12:54.848907: iinla: Evaluate component linearisations (level 3)
#> 2025-10-28 17:12:54.850132: Linearise components for each observation model (level 3)
#> 2025-10-28 17:12:54.851469: Linearise component 'field' (level 4)
#> 2025-10-28 17:12:54.856473: iinla: Evaluate component simplifications (level 3)
#> 2025-10-28 17:12:54.857672: Simplify component mappers for each observation model (level 3)
#> 2025-10-28 17:12:54.858931: Simplify component 'field' (level 4)
#> 2025-10-28 17:12:54.863423: iinla: Evaluate predictor linearisation (level 3)
#> 2025-10-28 17:12:54.866608: iinla: Construct inla stack (level 3)
#> 2025-10-28 17:12:54.877164: iinla: Model initialisation completed (level 3)
#> 2025-10-28 17:12:54.878606: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-10-28 17:12:57.310986: bru_input(bru_comp_list) (level 4)
#> 2025-10-28 17:13:00.788161: bru: Preprocessing (level 1)
#> 2025-10-28 17:13:00.80156: Evaluate component inputs for each observation model (level 3)
#> 2025-10-28 17:13:00.802813: bru_input(bru_comp_list) (level 4)
#> 2025-10-28 17:13:00.804153: bru_input.bru_comp(x) (level 4)
#> 2025-10-28 17:13:00.805515: bru_input(bru_input) for (x) (level 5)
#> 2025-10-28 17:13:00.813344: bru_input(bru_comp_list) (level 4)
#> 2025-10-28 17:13:00.814883: bru_input.bru_comp(x) (level 4)
#> 2025-10-28 17:13:00.816362: bru_input(bru_input) for (x) (level 5)
#> 2025-10-28 17:13:00.828684: iinla: Start (level 3)
#> 2025-10-28 17:13:00.837063: iinla: Evaluate component linearisations (level 3)
#> 2025-10-28 17:13:00.838237: Linearise components for each observation model (level 3)
#> 2025-10-28 17:13:00.839487: Linearise component 'x' (level 4)
#> 2025-10-28 17:13:00.842913: Linearise component 'x' (level 4)
#> 2025-10-28 17:13:00.845963: iinla: Evaluate component simplifications (level 3)
#> 2025-10-28 17:13:00.847135: Simplify component mappers for each observation model (level 3)
#> 2025-10-28 17:13:00.84837: Simplify component 'x' (level 4)
#> 2025-10-28 17:13:00.851771: Simplify component 'x' (level 4)
#> 2025-10-28 17:13:00.855079: iinla: Evaluate predictor linearisation (level 3)
#> 2025-10-28 17:13:00.861715: iinla: Construct inla stack (level 3)
#> 2025-10-28 17:13:00.876318: iinla: Model initialisation completed (level 3)
#> 2025-10-28 17:13:00.877689: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-10-28 17:13:02.057086: bru_input(bru_input) for (LABEL) (level 5)