adhoc_lamina()
will execute only the lamina and the code
therein contained as specified by lamina_path
with or without log messages.
See also
Other adhoc:
adhoc()
,
adhoc_stratum()
Examples
tmp <- fs::dir_create(fs::file_temp())
result <- strata::build_quick_strata_project(tmp, 1, 1)
adhoc_lamina(
fs::path(tmp, "strata", "stratum_1", "s1_lamina_1"),
)
#> [2025-04-03 20:40:11.3266] INFO: Strata started
#> [2025-04-03 20:40:11.3273] INFO: Stratum: stratum_1 initialized
#> [2025-04-03 20:40:11.3276] INFO: Lamina: s1_lamina_1 initialized
#> [2025-04-03 20:40:11.3281] INFO: Executing: my_code
#> [1] "I am a placeholder, do not forget to replace me!"
#> [2025-04-03 20:40:11.3295] INFO: Strata finished - duration: 0.0033 seconds
fs::dir_delete(tmp)