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-12-23 20:02:14.769581: inlabru loaded
#> 2025-12-23 20:02:14.770054: Clear override options
#> 2025-12-23 20:02:25.725615: bru: Preprocessing
#> 2025-12-23 20:02:25.845515: iinla: Iteration 1 [max: 1]
#> 2025-12-23 20:02:26.657557: bru: Preprocessing
#> 2025-12-23 20:02:26.759036: iinla: Iteration 1 [max: 1]
#> 2025-12-23 20:02:27.133371: bru: Preprocessing
#> 2025-12-23 20:02:27.246018: iinla: Iteration 1 [max: 10]
#> 2025-12-23 20:02:27.571992: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-12-23 20:02:27.602415: iinla: Iteration 2 [max: 10]
#> 2025-12-23 20:02:28.196237: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-12-23 20:02:28.224216: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-23 20:02:28.226658: iinla: Iteration 3 [max: 10]
#> 2025-12-23 20:02:28.540054: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-12-23 20:02:28.568822: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-23 20:02:28.571384: iinla: Iteration 4 [max: 10]
#> 2025-12-23 20:02:28.913231: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-12-23 20:02:28.914491: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-12-23 20:02:28.917009: iinla: Iteration 5 [max: 10]
#> 2025-12-23 20:02:30.126938: bru: Preprocessing
#> 2025-12-23 20:02:30.194816: iinla: Iteration 1 [max: 1]
#> 2025-12-23 20:02:35.427711: bru: Preprocessing
#> 2025-12-23 20:02:35.517584: iinla: Iteration 1 [max: 1]
format(bru_log())
#> 2025-12-23 20:02:14.769581: inlabru loaded
#> 2025-12-23 20:02:14.770054: Clear override options
#> 2025-12-23 20:02:25.725615: bru: Preprocessing
#> 2025-12-23 20:02:25.74101: Evaluate component inputs for each observation model
#> 2025-12-23 20:02:25.742416: bru_input(bru_comp_list)
#> 2025-12-23 20:02:25.743855: bru_input.bru_comp(x)
#> 2025-12-23 20:02:25.745323: bru_input.bm_pipe(x)
#> 2025-12-23 20:02:25.74694: bru_input.bm_multi(x:mapper)
#> 2025-12-23 20:02:25.748531: bru_input.bru_mapper(x:mapper:main)
#> 2025-12-23 20:02:25.750214: bru_input(bru_input) for (x)
#> 2025-12-23 20:02:25.758606: bru_input.bru_comp(Intercept)
#> 2025-12-23 20:02:25.760065: bru_input.bm_pipe(Intercept)
#> 2025-12-23 20:02:25.761621: bru_input.bm_multi(Intercept:mapper)
#> 2025-12-23 20:02:25.763169: bru_input.bru_mapper(Intercept:mapper:main)
#> 2025-12-23 20:02:25.764524: bru_input(bru_input) for (Intercept)
#> 2025-12-23 20:02:25.786799: iinla: Start
#> 2025-12-23 20:02:25.78883: iinla: Evaluate component linearisations
#> 2025-12-23 20:02:25.790871: Linearise components for each observation model
#> 2025-12-23 20:02:25.792745: Linearise component 'x'
#> 2025-12-23 20:02:25.795837: Linearise component 'Intercept'
#> 2025-12-23 20:02:25.798812: iinla: Evaluate component simplifications
#> 2025-12-23 20:02:25.800241: Simplify component mappers for each observation model
#> 2025-12-23 20:02:25.80184: Simplify component 'x'
#> 2025-12-23 20:02:25.805123: Simplify component 'Intercept'
#> 2025-12-23 20:02:25.808248: iinla: Evaluate predictor linearisation
#> 2025-12-23 20:02:25.822257: iinla: Construct inla stack
#> 2025-12-23 20:02:25.843994: iinla: Model initialisation completed
#> 2025-12-23 20:02:25.845515: iinla: Iteration 1 [max: 1]
#> 2025-12-23 20:02:26.631452: iinla: Computation completed
#> 2025-12-23 20:02:26.657557: bru: Preprocessing
#> 2025-12-23 20:02:26.666663: Evaluate component inputs for each observation model
#> 2025-12-23 20:02:26.668051: bru_input(bru_comp_list)
#> 2025-12-23 20:02:26.669574: bru_input.bru_comp(x)
#> 2025-12-23 20:02:26.671002: bru_input.bm_pipe(x)
#> 2025-12-23 20:02:26.672585: bru_input.bm_multi(x:mapper)
#> 2025-12-23 20:02:26.67413: bru_input.bru_mapper(x:mapper:main)
#> 2025-12-23 20:02:26.675536: bru_input(bru_input) for (x)
#> 2025-12-23 20:02:26.684353: bru_input.bru_comp(Intercept)
#> 2025-12-23 20:02:26.6858: bru_input.bm_pipe(Intercept)
#> 2025-12-23 20:02:26.687455: bru_input.bm_multi(Intercept:mapper)
#> 2025-12-23 20:02:26.689524: bru_input.bru_mapper(Intercept:mapper:main)
#> 2025-12-23 20:02:26.691478: bru_input(bru_input) for (Intercept)
#> 2025-12-23 20:02:26.708742: iinla: Start
#> 2025-12-23 20:02:26.710527: iinla: Evaluate component linearisations
#> 2025-12-23 20:02:26.712194: Linearise components for each observation model
#> 2025-12-23 20:02:26.714077: Linearise component 'x'
#> 2025-12-23 20:02:26.717745: Linearise component 'Intercept'
#> 2025-12-23 20:02:26.721212: iinla: Evaluate component simplifications
#> 2025-12-23 20:02:26.722842: Simplify component mappers for each observation model
#> 2025-12-23 20:02:26.724758: Simplify component 'x'
#> 2025-12-23 20:02:26.728545: Simplify component 'Intercept'
#> 2025-12-23 20:02:26.732398: iinla: Evaluate predictor linearisation
#> 2025-12-23 20:02:26.740658: iinla: Construct inla stack
#> 2025-12-23 20:02:26.757051: iinla: Model initialisation completed
#> 2025-12-23 20:02:26.759036: iinla: Iteration 1 [max: 1]
#> 2025-12-23 20:02:27.102594: iinla: Computation completed
#> 2025-12-23 20:02:27.133371: bru: Preprocessing
#> 2025-12-23 20:02:27.144812: Evaluate component inputs for each observation model
#> 2025-12-23 20:02:27.14661: bru_input(bru_comp_list)
#> 2025-12-23 20:02:27.14848: bru_input.bru_comp(z)
#> 2025-12-23 20:02:27.150361: bru_input.bm_pipe(z)
#> 2025-12-23 20:02:27.152395: bru_input.bm_multi(z:mapper)
#> 2025-12-23 20:02:27.154489: bru_input.bru_mapper(z:mapper:main)
#> 2025-12-23 20:02:27.156306: bru_input(bru_input) for (z)
#> 2025-12-23 20:02:27.165721: bru_input.bru_comp(Intercept)
#> 2025-12-23 20:02:27.167603: bru_input.bm_pipe(Intercept)
#> 2025-12-23 20:02:27.169665: bru_input.bm_multi(Intercept:mapper)
#> 2025-12-23 20:02:27.171727: bru_input.bru_mapper(Intercept:mapper:main)
#> 2025-12-23 20:02:27.173565: bru_input(bru_input) for (Intercept)
#> 2025-12-23 20:02:27.190383: iinla: Start
#> 2025-12-23 20:02:27.19206: iinla: Evaluate component linearisations
#> 2025-12-23 20:02:27.193686: Linearise components for each observation model
#> 2025-12-23 20:02:27.195646: Linearise component 'z'
#> 2025-12-23 20:02:27.199238: Linearise component 'Intercept'
#> 2025-12-23 20:02:27.202698: iinla: Evaluate component simplifications
#> 2025-12-23 20:02:27.204319: Simplify component mappers for each observation model
#> 2025-12-23 20:02:27.206205: Simplify component 'z'
#> 2025-12-23 20:02:27.209915: Simplify component 'Intercept'
#> 2025-12-23 20:02:27.213555: iinla: Evaluate predictor linearisation
#> 2025-12-23 20:02:27.217512: Linearise with respect to component 'z'
#> 2025-12-23 20:02:27.224207: Linearise with respect to component 'Intercept'
#> 2025-12-23 20:02:27.228528: iinla: Construct inla stack
#> 2025-12-23 20:02:27.244062: iinla: Model initialisation completed
#> 2025-12-23 20:02:27.246018: iinla: Iteration 1 [max: 10]
#> 2025-12-23 20:02:27.562105: iinla: Step rescaling: 61.8%, Contract (norm0 = 2691, norm1 = 2464, norm01 = 494.2)
#> 2025-12-23 20:02:27.565092: iinla: Step rescaling: 38.2%, Contract (norm0 = 552.8, norm1 = 411.6, norm01 = 494.2)
#> 2025-12-23 20:02:27.568869: iinla: Step rescaling: 27.71%, Approx Optimisation (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-12-23 20:02:27.570421: iinla: |lin1-lin0| = 494.2
#> <eta-lin1,delta>/|delta| = -281.1
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 154.1
#> 2025-12-23 20:02:27.571992: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-12-23 20:02:27.573877: iinla: Evaluate component linearisations
#> 2025-12-23 20:02:27.575191: Linearise components for each observation model
#> 2025-12-23 20:02:27.576615: Linearise component 'z'
#> 2025-12-23 20:02:27.579547: Linearise component 'Intercept'
#> 2025-12-23 20:02:27.582385: iinla: Evaluate predictor linearisation
#> 2025-12-23 20:02:27.58509: Linearise with respect to component 'z'
#> 2025-12-23 20:02:27.588774: Linearise with respect to component 'Intercept'
#> 2025-12-23 20:02:27.602415: iinla: Iteration 2 [max: 10]
#> 2025-12-23 20:02:28.186949: iinla: Step rescaling: 162%, Expand (norm0 = 518.3, norm1 = 200.1, norm01 = 320.5)
#> 2025-12-23 20:02:28.189845: iinla: Step rescaling: 100%, Overstep (norm0 = 320.2, norm1 = 13.76, norm01 = 320.5)
#> 2025-12-23 20:02:28.193304: iinla: Step rescaling: 99.81%, Approx Optimisation (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-12-23 20:02:28.194776: iinla: |lin1-lin0| = 320.5
#> <eta-lin1,delta>/|delta| = -1.177
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.69
#> 2025-12-23 20:02:28.196237: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-12-23 20:02:28.197965: iinla: Evaluate component linearisations
#> 2025-12-23 20:02:28.199131: Linearise components for each observation model
#> 2025-12-23 20:02:28.200532: Linearise component 'z'
#> 2025-12-23 20:02:28.203384: Linearise component 'Intercept'
#> 2025-12-23 20:02:28.206152: iinla: Evaluate predictor linearisation
#> 2025-12-23 20:02:28.208736: Linearise with respect to component 'z'
#> 2025-12-23 20:02:28.212271: Linearise with respect to component 'Intercept'
#> 2025-12-23 20:02:28.224216: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-23 20:02:28.226658: iinla: Iteration 3 [max: 10]
#> 2025-12-23 20:02:28.530145: iinla: Step rescaling: 162%, Expand (norm0 = 21.7, norm1 = 7.954, norm01 = 13.75)
#> 2025-12-23 20:02:28.533203: iinla: Step rescaling: 100%, Overstep (norm0 = 13.54, norm1 = 0.2086, norm01 = 13.75)
#> 2025-12-23 20:02:28.536832: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-12-23 20:02:28.53847: iinla: |lin1-lin0| = 13.75
#> <eta-lin1,delta>/|delta| = 7.795e-07
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.009295
#> 2025-12-23 20:02:28.540054: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-12-23 20:02:28.541851: iinla: Evaluate component linearisations
#> 2025-12-23 20:02:28.543089: Linearise components for each observation model
#> 2025-12-23 20:02:28.544499: Linearise component 'z'
#> 2025-12-23 20:02:28.547482: Linearise component 'Intercept'
#> 2025-12-23 20:02:28.550336: iinla: Evaluate predictor linearisation
#> 2025-12-23 20:02:28.552998: Linearise with respect to component 'z'
#> 2025-12-23 20:02:28.556661: Linearise with respect to component 'Intercept'
#> 2025-12-23 20:02:28.568822: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-23 20:02:28.571384: iinla: Iteration 4 [max: 10]
#> 2025-12-23 20:02:28.876302: iinla: Step rescaling: 162%, Expand (norm0 = 0.01503, norm1 = 0.005741, norm01 = 0.00929)
#> 2025-12-23 20:02:28.879286: iinla: Step rescaling: 100%, Overstep (norm0 = 0.00929, norm1 = 3.115e-08, norm01 = 0.00929)
#> 2025-12-23 20:02:28.88297: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.00929, norm1 = 3.112e-08, norm01 = 0.00929)
#> 2025-12-23 20:02:28.884505: iinla: |lin1-lin0| = 0.00929
#> <eta-lin1,delta>/|delta| = 2.84e-11
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 3.112e-08
#> 2025-12-23 20:02:28.886304: iinla: Evaluate component linearisations
#> 2025-12-23 20:02:28.887527: Linearise components for each observation model
#> 2025-12-23 20:02:28.88897: Linearise component 'z'
#> 2025-12-23 20:02:28.891914: Linearise component 'Intercept'
#> 2025-12-23 20:02:28.894747: iinla: Evaluate predictor linearisation
#> 2025-12-23 20:02:28.897413: Linearise with respect to component 'z'
#> 2025-12-23 20:02:28.901059: Linearise with respect to component 'Intercept'
#> 2025-12-23 20:02:28.913231: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-12-23 20:02:28.914491: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-12-23 20:02:28.917009: iinla: Iteration 5 [max: 10]
#> 2025-12-23 20:02:29.236223: iinla: Computation completed
#> 2025-12-23 20:02:30.126938: bru: Preprocessing
#> 2025-12-23 20:02:30.13694: Evaluate component inputs for each observation model
#> 2025-12-23 20:02:30.138238: bru_input(bru_comp_list)
#> 2025-12-23 20:02:30.139608: bru_input.bru_comp(field)
#> 2025-12-23 20:02:30.140993: bru_input.bm_pipe(field)
#> 2025-12-23 20:02:30.142541: bru_input.bm_multi(field:mapper)
#> 2025-12-23 20:02:30.144053: bru_input.bru_mapper(field:mapper:main)
#> 2025-12-23 20:02:30.14552: bru_input(bru_input) for (field)
#> 2025-12-23 20:02:30.159018: iinla: Start
#> 2025-12-23 20:02:30.160235: iinla: Evaluate component linearisations
#> 2025-12-23 20:02:30.161432: Linearise components for each observation model
#> 2025-12-23 20:02:30.162794: Linearise component 'field'
#> 2025-12-23 20:02:30.170197: iinla: Evaluate component simplifications
#> 2025-12-23 20:02:30.171484: Simplify component mappers for each observation model
#> 2025-12-23 20:02:30.172926: Simplify component 'field'
#> 2025-12-23 20:02:30.179378: iinla: Evaluate predictor linearisation
#> 2025-12-23 20:02:30.182857: iinla: Construct inla stack
#> 2025-12-23 20:02:30.193388: iinla: Model initialisation completed
#> 2025-12-23 20:02:30.194816: iinla: Iteration 1 [max: 1]
#> 2025-12-23 20:02:30.624104: iinla: Computation completed
#> 2025-12-23 20:02:32.52912: bru_input(bru_comp_list)
#> 2025-12-23 20:02:35.427711: bru: Preprocessing
#> 2025-12-23 20:02:35.44079: Evaluate component inputs for each observation model
#> 2025-12-23 20:02:35.442092: bru_input(bru_comp_list)
#> 2025-12-23 20:02:35.44346: bru_input.bru_comp(x)
#> 2025-12-23 20:02:35.444807: bru_input.bm_pipe(x)
#> 2025-12-23 20:02:35.446317: bru_input.bm_multi(x:mapper)
#> 2025-12-23 20:02:35.447771: bru_input.bru_mapper(x:mapper:main)
#> 2025-12-23 20:02:35.449112: bru_input(bru_input) for (x)
#> 2025-12-23 20:02:35.457965: bru_input(bru_comp_list)
#> 2025-12-23 20:02:35.459336: bru_input.bru_comp(x)
#> 2025-12-23 20:02:35.460667: bru_input.bm_pipe(x)
#> 2025-12-23 20:02:35.462301: bru_input.bm_multi(x:mapper)
#> 2025-12-23 20:02:35.463753: bru_input.bru_mapper(x:mapper:main)
#> 2025-12-23 20:02:35.465097: bru_input(bru_input) for (x)
#> 2025-12-23 20:02:35.479162: iinla: Start
#> 2025-12-23 20:02:35.480336: iinla: Evaluate component linearisations
#> 2025-12-23 20:02:35.48151: Linearise components for each observation model
#> 2025-12-23 20:02:35.482848: Linearise component 'x'
#> 2025-12-23 20:02:35.485936: Linearise component 'x'
#> 2025-12-23 20:02:35.488677: iinla: Evaluate component simplifications
#> 2025-12-23 20:02:35.489879: Simplify component mappers for each observation model
#> 2025-12-23 20:02:35.491241: Simplify component 'x'
#> 2025-12-23 20:02:35.494401: Simplify component 'x'
#> 2025-12-23 20:02:35.497347: iinla: Evaluate predictor linearisation
#> 2025-12-23 20:02:35.502691: iinla: Construct inla stack
#> 2025-12-23 20:02:35.51616: iinla: Model initialisation completed
#> 2025-12-23 20:02:35.517584: iinla: Iteration 1 [max: 1]
#> 2025-12-23 20:02:35.874985: iinla: Computation completed
#> 2025-12-23 20:02:38.834594: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2025-12-23 20:02:14.769581: inlabru loaded
#> 2025-12-23 20:02:14.770054: Clear override options
#> 2025-12-23 20:02:25.725615: bru: Preprocessing
#> 2025-12-23 20:02:25.845515: iinla: Iteration 1 [max: 1]
#> 2025-12-23 20:02:26.657557: bru: Preprocessing
#> 2025-12-23 20:02:26.759036: iinla: Iteration 1 [max: 1]
#> 2025-12-23 20:02:27.133371: bru: Preprocessing
#> 2025-12-23 20:02:27.246018: iinla: Iteration 1 [max: 10]
#> 2025-12-23 20:02:27.571992: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2)
#> 2025-12-23 20:02:27.602415: iinla: Iteration 2 [max: 10]
#> 2025-12-23 20:02:28.196237: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5)
#> 2025-12-23 20:02:28.224216: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-23 20:02:28.226658: iinla: Iteration 3 [max: 10]
#> 2025-12-23 20:02:28.540054: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75)
#> 2025-12-23 20:02:28.568822: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-12-23 20:02:28.571384: iinla: Iteration 4 [max: 10]
#> 2025-12-23 20:02:28.913231: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-12-23 20:02:28.914491: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-12-23 20:02:28.917009: iinla: Iteration 5 [max: 10]
#> 2025-12-23 20:02:30.126938: bru: Preprocessing
#> 2025-12-23 20:02:30.194816: iinla: Iteration 1 [max: 1]
#> 2025-12-23 20:02:35.427711: bru: Preprocessing
#> 2025-12-23 20:02:35.517584: iinla: Iteration 1 [max: 1]
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2025-12-23 20:02:14.769581: inlabru loaded (level 1)
#> 2025-12-23 20:02:14.770054: Clear override options (level 1)
#> 2025-12-23 20:02:25.725615: bru: Preprocessing (level 1)
#> 2025-12-23 20:02:25.74101: Evaluate component inputs for each observation model (level 3)
#> 2025-12-23 20:02:25.742416: bru_input(bru_comp_list) (level 4)
#> 2025-12-23 20:02:25.743855: bru_input.bru_comp(x) (level 4)
#> 2025-12-23 20:02:25.745323: bru_input.bm_pipe(x) (level 5)
#> 2025-12-23 20:02:25.74694: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-12-23 20:02:25.748531: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-12-23 20:02:25.750214: bru_input(bru_input) for (x) (level 5)
#> 2025-12-23 20:02:25.758606: bru_input.bru_comp(Intercept) (level 4)
#> 2025-12-23 20:02:25.760065: bru_input.bm_pipe(Intercept) (level 5)
#> 2025-12-23 20:02:25.761621: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2025-12-23 20:02:25.763169: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2025-12-23 20:02:25.764524: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-12-23 20:02:25.786799: iinla: Start (level 3)
#> 2025-12-23 20:02:25.78883: iinla: Evaluate component linearisations (level 3)
#> 2025-12-23 20:02:25.790871: Linearise components for each observation model (level 3)
#> 2025-12-23 20:02:25.792745: Linearise component 'x' (level 4)
#> 2025-12-23 20:02:25.795837: Linearise component 'Intercept' (level 4)
#> 2025-12-23 20:02:25.798812: iinla: Evaluate component simplifications (level 3)
#> 2025-12-23 20:02:25.800241: Simplify component mappers for each observation model (level 3)
#> 2025-12-23 20:02:25.80184: Simplify component 'x' (level 4)
#> 2025-12-23 20:02:25.805123: Simplify component 'Intercept' (level 4)
#> 2025-12-23 20:02:25.808248: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-23 20:02:25.822257: iinla: Construct inla stack (level 3)
#> 2025-12-23 20:02:25.843994: iinla: Model initialisation completed (level 3)
#> 2025-12-23 20:02:25.845515: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-12-23 20:02:26.631452: iinla: Computation completed (level 3)
#> 2025-12-23 20:02:26.657557: bru: Preprocessing (level 1)
#> 2025-12-23 20:02:26.666663: Evaluate component inputs for each observation model (level 3)
#> 2025-12-23 20:02:26.668051: bru_input(bru_comp_list) (level 4)
#> 2025-12-23 20:02:26.669574: bru_input.bru_comp(x) (level 4)
#> 2025-12-23 20:02:26.671002: bru_input.bm_pipe(x) (level 5)
#> 2025-12-23 20:02:26.672585: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-12-23 20:02:26.67413: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-12-23 20:02:26.675536: bru_input(bru_input) for (x) (level 5)
#> 2025-12-23 20:02:26.684353: bru_input.bru_comp(Intercept) (level 4)
#> 2025-12-23 20:02:26.6858: bru_input.bm_pipe(Intercept) (level 5)
#> 2025-12-23 20:02:26.687455: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2025-12-23 20:02:26.689524: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2025-12-23 20:02:26.691478: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-12-23 20:02:26.708742: iinla: Start (level 3)
#> 2025-12-23 20:02:26.710527: iinla: Evaluate component linearisations (level 3)
#> 2025-12-23 20:02:26.712194: Linearise components for each observation model (level 3)
#> 2025-12-23 20:02:26.714077: Linearise component 'x' (level 4)
#> 2025-12-23 20:02:26.717745: Linearise component 'Intercept' (level 4)
#> 2025-12-23 20:02:26.721212: iinla: Evaluate component simplifications (level 3)
#> 2025-12-23 20:02:26.722842: Simplify component mappers for each observation model (level 3)
#> 2025-12-23 20:02:26.724758: Simplify component 'x' (level 4)
#> 2025-12-23 20:02:26.728545: Simplify component 'Intercept' (level 4)
#> 2025-12-23 20:02:26.732398: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-23 20:02:26.740658: iinla: Construct inla stack (level 3)
#> 2025-12-23 20:02:26.757051: iinla: Model initialisation completed (level 3)
#> 2025-12-23 20:02:26.759036: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-12-23 20:02:27.102594: iinla: Computation completed (level 3)
#> 2025-12-23 20:02:27.133371: bru: Preprocessing (level 1)
#> 2025-12-23 20:02:27.144812: Evaluate component inputs for each observation model (level 3)
#> 2025-12-23 20:02:27.14661: bru_input(bru_comp_list) (level 4)
#> 2025-12-23 20:02:27.14848: bru_input.bru_comp(z) (level 4)
#> 2025-12-23 20:02:27.150361: bru_input.bm_pipe(z) (level 5)
#> 2025-12-23 20:02:27.152395: bru_input.bm_multi(z:mapper) (level 5)
#> 2025-12-23 20:02:27.154489: bru_input.bru_mapper(z:mapper:main) (level 5)
#> 2025-12-23 20:02:27.156306: bru_input(bru_input) for (z) (level 5)
#> 2025-12-23 20:02:27.165721: bru_input.bru_comp(Intercept) (level 4)
#> 2025-12-23 20:02:27.167603: bru_input.bm_pipe(Intercept) (level 5)
#> 2025-12-23 20:02:27.169665: bru_input.bm_multi(Intercept:mapper) (level 5)
#> 2025-12-23 20:02:27.171727: bru_input.bru_mapper(Intercept:mapper:main) (level 5)
#> 2025-12-23 20:02:27.173565: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-12-23 20:02:27.190383: iinla: Start (level 3)
#> 2025-12-23 20:02:27.19206: iinla: Evaluate component linearisations (level 3)
#> 2025-12-23 20:02:27.193686: Linearise components for each observation model (level 3)
#> 2025-12-23 20:02:27.195646: Linearise component 'z' (level 4)
#> 2025-12-23 20:02:27.199238: Linearise component 'Intercept' (level 4)
#> 2025-12-23 20:02:27.202698: iinla: Evaluate component simplifications (level 3)
#> 2025-12-23 20:02:27.204319: Simplify component mappers for each observation model (level 3)
#> 2025-12-23 20:02:27.206205: Simplify component 'z' (level 4)
#> 2025-12-23 20:02:27.209915: Simplify component 'Intercept' (level 4)
#> 2025-12-23 20:02:27.213555: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-23 20:02:27.217512: Linearise with respect to component 'z' (level 5)
#> 2025-12-23 20:02:27.224207: Linearise with respect to component 'Intercept' (level 5)
#> 2025-12-23 20:02:27.228528: iinla: Construct inla stack (level 3)
#> 2025-12-23 20:02:27.244062: iinla: Model initialisation completed (level 3)
#> 2025-12-23 20:02:27.246018: iinla: Iteration 1 [max: 10] (level 1)
#> 2025-12-23 20:02:27.562105: iinla: Step rescaling: 61.8%, Contract (norm0 = 2691, norm1 = 2464, norm01 = 494.2) (level 3)
#> 2025-12-23 20:02:27.565092: iinla: Step rescaling: 38.2%, Contract (norm0 = 552.8, norm1 = 411.6, norm01 = 494.2) (level 3)
#> 2025-12-23 20:02:27.568869: iinla: Step rescaling: 27.71%, Approx Optimisation (norm0 = 263, norm1 = 320.6, norm01 = 494.2) (level 3)
#> 2025-12-23 20:02:27.570421: iinla: |lin1-lin0| = 494.2
#> <eta-lin1,delta>/|delta| = -281.1
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 154.1 (level 4)
#> 2025-12-23 20:02:27.571992: iinla: Step rescaling: 27.7% (norm0 = 263, norm1 = 320.6, norm01 = 494.2) (level 2)
#> 2025-12-23 20:02:27.573877: iinla: Evaluate component linearisations (level 3)
#> 2025-12-23 20:02:27.575191: Linearise components for each observation model (level 3)
#> 2025-12-23 20:02:27.576615: Linearise component 'z' (level 4)
#> 2025-12-23 20:02:27.579547: Linearise component 'Intercept' (level 4)
#> 2025-12-23 20:02:27.582385: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-23 20:02:27.58509: Linearise with respect to component 'z' (level 5)
#> 2025-12-23 20:02:27.588774: Linearise with respect to component 'Intercept' (level 5)
#> 2025-12-23 20:02:27.602415: iinla: Iteration 2 [max: 10] (level 1)
#> 2025-12-23 20:02:28.186949: iinla: Step rescaling: 162%, Expand (norm0 = 518.3, norm1 = 200.1, norm01 = 320.5) (level 3)
#> 2025-12-23 20:02:28.189845: iinla: Step rescaling: 100%, Overstep (norm0 = 320.2, norm1 = 13.76, norm01 = 320.5) (level 3)
#> 2025-12-23 20:02:28.193304: iinla: Step rescaling: 99.81%, Approx Optimisation (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5) (level 3)
#> 2025-12-23 20:02:28.194776: iinla: |lin1-lin0| = 320.5
#> <eta-lin1,delta>/|delta| = -1.177
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 13.69 (level 4)
#> 2025-12-23 20:02:28.196237: iinla: Step rescaling: 99.8% (norm0 = 319.6, norm1 = 13.74, norm01 = 320.5) (level 2)
#> 2025-12-23 20:02:28.197965: iinla: Evaluate component linearisations (level 3)
#> 2025-12-23 20:02:28.199131: Linearise components for each observation model (level 3)
#> 2025-12-23 20:02:28.200532: Linearise component 'z' (level 4)
#> 2025-12-23 20:02:28.203384: Linearise component 'Intercept' (level 4)
#> 2025-12-23 20:02:28.206152: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-23 20:02:28.208736: Linearise with respect to component 'z' (level 5)
#> 2025-12-23 20:02:28.212271: Linearise with respect to component 'Intercept' (level 5)
#> 2025-12-23 20:02:28.224216: iinla: Max deviation from previous: 65300% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-12-23 20:02:28.226658: iinla: Iteration 3 [max: 10] (level 1)
#> 2025-12-23 20:02:28.530145: iinla: Step rescaling: 162%, Expand (norm0 = 21.7, norm1 = 7.954, norm01 = 13.75) (level 3)
#> 2025-12-23 20:02:28.533203: iinla: Step rescaling: 100%, Overstep (norm0 = 13.54, norm1 = 0.2086, norm01 = 13.75) (level 3)
#> 2025-12-23 20:02:28.536832: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75) (level 3)
#> 2025-12-23 20:02:28.53847: iinla: |lin1-lin0| = 13.75
#> <eta-lin1,delta>/|delta| = 7.795e-07
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.009295 (level 4)
#> 2025-12-23 20:02:28.540054: iinla: Step rescaling: 102% (norm0 = 13.75, norm1 = 0.009295, norm01 = 13.75) (level 2)
#> 2025-12-23 20:02:28.541851: iinla: Evaluate component linearisations (level 3)
#> 2025-12-23 20:02:28.543089: Linearise components for each observation model (level 3)
#> 2025-12-23 20:02:28.544499: Linearise component 'z' (level 4)
#> 2025-12-23 20:02:28.547482: Linearise component 'Intercept' (level 4)
#> 2025-12-23 20:02:28.550336: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-23 20:02:28.552998: Linearise with respect to component 'z' (level 5)
#> 2025-12-23 20:02:28.556661: Linearise with respect to component 'Intercept' (level 5)
#> 2025-12-23 20:02:28.568822: iinla: Max deviation from previous: 637% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-12-23 20:02:28.571384: iinla: Iteration 4 [max: 10] (level 1)
#> 2025-12-23 20:02:28.876302: iinla: Step rescaling: 162%, Expand (norm0 = 0.01503, norm1 = 0.005741, norm01 = 0.00929) (level 3)
#> 2025-12-23 20:02:28.879286: iinla: Step rescaling: 100%, Overstep (norm0 = 0.00929, norm1 = 3.115e-08, norm01 = 0.00929) (level 3)
#> 2025-12-23 20:02:28.88297: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.00929, norm1 = 3.112e-08, norm01 = 0.00929) (level 3)
#> 2025-12-23 20:02:28.884505: 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)
#> 2025-12-23 20:02:28.886304: iinla: Evaluate component linearisations (level 3)
#> 2025-12-23 20:02:28.887527: Linearise components for each observation model (level 3)
#> 2025-12-23 20:02:28.88897: Linearise component 'z' (level 4)
#> 2025-12-23 20:02:28.891914: Linearise component 'Intercept' (level 4)
#> 2025-12-23 20:02:28.894747: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-23 20:02:28.897413: Linearise with respect to component 'z' (level 5)
#> 2025-12-23 20:02:28.901059: Linearise with respect to component 'Intercept' (level 5)
#> 2025-12-23 20:02:28.913231: iinla: Max deviation from previous: 9.64% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-12-23 20:02:28.914491: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2025-12-23 20:02:28.917009: iinla: Iteration 5 [max: 10] (level 1)
#> 2025-12-23 20:02:29.236223: iinla: Computation completed (level 3)
#> 2025-12-23 20:02:30.126938: bru: Preprocessing (level 1)
#> 2025-12-23 20:02:30.13694: Evaluate component inputs for each observation model (level 3)
#> 2025-12-23 20:02:30.138238: bru_input(bru_comp_list) (level 4)
#> 2025-12-23 20:02:30.139608: bru_input.bru_comp(field) (level 4)
#> 2025-12-23 20:02:30.140993: bru_input.bm_pipe(field) (level 5)
#> 2025-12-23 20:02:30.142541: bru_input.bm_multi(field:mapper) (level 5)
#> 2025-12-23 20:02:30.144053: bru_input.bru_mapper(field:mapper:main) (level 5)
#> 2025-12-23 20:02:30.14552: bru_input(bru_input) for (field) (level 5)
#> 2025-12-23 20:02:30.159018: iinla: Start (level 3)
#> 2025-12-23 20:02:30.160235: iinla: Evaluate component linearisations (level 3)
#> 2025-12-23 20:02:30.161432: Linearise components for each observation model (level 3)
#> 2025-12-23 20:02:30.162794: Linearise component 'field' (level 4)
#> 2025-12-23 20:02:30.170197: iinla: Evaluate component simplifications (level 3)
#> 2025-12-23 20:02:30.171484: Simplify component mappers for each observation model (level 3)
#> 2025-12-23 20:02:30.172926: Simplify component 'field' (level 4)
#> 2025-12-23 20:02:30.179378: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-23 20:02:30.182857: iinla: Construct inla stack (level 3)
#> 2025-12-23 20:02:30.193388: iinla: Model initialisation completed (level 3)
#> 2025-12-23 20:02:30.194816: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-12-23 20:02:30.624104: iinla: Computation completed (level 3)
#> 2025-12-23 20:02:32.52912: bru_input(bru_comp_list) (level 4)
#> 2025-12-23 20:02:35.427711: bru: Preprocessing (level 1)
#> 2025-12-23 20:02:35.44079: Evaluate component inputs for each observation model (level 3)
#> 2025-12-23 20:02:35.442092: bru_input(bru_comp_list) (level 4)
#> 2025-12-23 20:02:35.44346: bru_input.bru_comp(x) (level 4)
#> 2025-12-23 20:02:35.444807: bru_input.bm_pipe(x) (level 5)
#> 2025-12-23 20:02:35.446317: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-12-23 20:02:35.447771: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-12-23 20:02:35.449112: bru_input(bru_input) for (x) (level 5)
#> 2025-12-23 20:02:35.457965: bru_input(bru_comp_list) (level 4)
#> 2025-12-23 20:02:35.459336: bru_input.bru_comp(x) (level 4)
#> 2025-12-23 20:02:35.460667: bru_input.bm_pipe(x) (level 5)
#> 2025-12-23 20:02:35.462301: bru_input.bm_multi(x:mapper) (level 5)
#> 2025-12-23 20:02:35.463753: bru_input.bru_mapper(x:mapper:main) (level 5)
#> 2025-12-23 20:02:35.465097: bru_input(bru_input) for (x) (level 5)
#> 2025-12-23 20:02:35.479162: iinla: Start (level 3)
#> 2025-12-23 20:02:35.480336: iinla: Evaluate component linearisations (level 3)
#> 2025-12-23 20:02:35.48151: Linearise components for each observation model (level 3)
#> 2025-12-23 20:02:35.482848: Linearise component 'x' (level 4)
#> 2025-12-23 20:02:35.485936: Linearise component 'x' (level 4)
#> 2025-12-23 20:02:35.488677: iinla: Evaluate component simplifications (level 3)
#> 2025-12-23 20:02:35.489879: Simplify component mappers for each observation model (level 3)
#> 2025-12-23 20:02:35.491241: Simplify component 'x' (level 4)
#> 2025-12-23 20:02:35.494401: Simplify component 'x' (level 4)
#> 2025-12-23 20:02:35.497347: iinla: Evaluate predictor linearisation (level 3)
#> 2025-12-23 20:02:35.502691: iinla: Construct inla stack (level 3)
#> 2025-12-23 20:02:35.51616: iinla: Model initialisation completed (level 3)
#> 2025-12-23 20:02:35.517584: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-12-23 20:02:35.874985: iinla: Computation completed (level 3)
#> 2025-12-23 20:02:38.834594: bru_input(bru_input) for (LABEL) (level 5)