Fetch logs from tasks in a bundle.
Arguments
- bundle
Either a
hipercow_bundleobject, or the name of a bundle.- outer
Logical, indicating if we should request the "outer" logs; these are logs from the underlying HPC software before it hands off to hipercow.
- follow
Logical, indicating if we should follow any retried tasks.
- root
A hipercow root, or path to it. If
NULLwe search up your directory tree.
Examples
cleanup <- hipercow_example_helper(with_logging = TRUE)
#> ℹ This example uses a special helper
bundle <- task_create_bulk_expr(sqrt(x), data.frame(x = 1:2))
#> ✔ Submitted 2 tasks using 'example'
#> ✔ Created bundle 'curt_millipede' with 2 tasks
hipercow_bundle_wait(bundle)
#> [1] TRUE
hipercow_bundle_log_value(bundle)
#> [[1]]
#> [1] ""
#> [2] "── hipercow 1.1.6 running at '/home/runner/work/_temp/hv-20251013-20776e0db2ae' "
#> [3] "ℹ library paths:"
#> [4] "• /home/runner/work/_temp/Library"
#> [5] "• /opt/R/4.5.1/lib/R/site-library"
#> [6] "• /opt/R/4.5.1/lib/R/library"
#> [7] "ℹ id: 47cd21363ed9ea4bb947fc43c2611063"
#> [8] "ℹ starting at: 2025-10-13 16:44:53.154222"
#> [9] "ℹ Task type: expression"
#> [10] "• Expression: sqrt(x)"
#> [11] "• Locals: x"
#> [12] "• Environment: default"
#> [13] " USER_KEY:"
#> [14] " /home/runner/work/_temp/hv-20251013-20776e0db2ae/hipercow/example/key"
#> [15] " USER_PUBKEY:"
#> [16] " /home/runner/work/_temp/hv-20251013-20776e0db2ae/hipercow/example/key.pub"
#> [17] " R_GC_MEM_GROW: 3"
#> [18] "───────────────────────────────────────────────────────────────── task logs ↓ ──"
#> [19] ""
#> [20] "───────────────────────────────────────────────────────────────── task logs ↑ ──"
#> [21] "✔ status: success"
#> [22] "ℹ finishing at: 2025-10-13 16:44:53.154222 (elapsed: 0.2277 secs)"
#>
#> [[2]]
#> [1] ""
#> [2] "── hipercow 1.1.6 running at '/home/runner/work/_temp/hv-20251013-20776e0db2ae' "
#> [3] "ℹ library paths:"
#> [4] "• /home/runner/work/_temp/Library"
#> [5] "• /opt/R/4.5.1/lib/R/site-library"
#> [6] "• /opt/R/4.5.1/lib/R/library"
#> [7] "ℹ id: f7ad7ba37bb02fd2a8068f8b471e6945"
#> [8] "ℹ starting at: 2025-10-13 16:44:53.586231"
#> [9] "ℹ Task type: expression"
#> [10] "• Expression: sqrt(x)"
#> [11] "• Locals: x"
#> [12] "• Environment: default"
#> [13] " USER_KEY:"
#> [14] " /home/runner/work/_temp/hv-20251013-20776e0db2ae/hipercow/example/key"
#> [15] " USER_PUBKEY:"
#> [16] " /home/runner/work/_temp/hv-20251013-20776e0db2ae/hipercow/example/key.pub"
#> [17] " R_GC_MEM_GROW: 3"
#> [18] "───────────────────────────────────────────────────────────────── task logs ↓ ──"
#> [19] ""
#> [20] "───────────────────────────────────────────────────────────────── task logs ↑ ──"
#> [21] "✔ status: success"
#> [22] "ℹ finishing at: 2025-10-13 16:44:53.586231 (elapsed: 0.2153 secs)"
#>
cleanup()
#> ℹ Cleaning up example
