In interactive sessions, adhoc()
will execute the stratum or lamina that
matches the name provided by the user. If multiple matches are found, the
user will be prompted to choose which one to execute. If no matches are
found, an error will be thrown. project_path
will default to the current
working directory, unless a path is provided by the user.
See also
Other adhoc:
adhoc_lamina()
,
adhoc_stratum()
Examples
if (FALSE) { # \dontrun{
tmp <- fs::dir_create(fs::file_temp())
result <- strata::build_quick_strata_project(tmp, 3, 2)
adhoc("stratum_1")
fs::dir_delete(tmp)
} # }