R/run_desc.R

Defines functions g3_to_desc

Documented in g3_to_desc

# Turn model into a list of string steps
g3_to_desc <- function(actions, minor_steps = FALSE) {
    out <- vapply(
        g3_collate(actions),
        function (s) step_find_desc(s, minor_steps = minor_steps),
        character(1))
    out <- out[!is.na(out)]
    out
}

Try the gadget3 package in your browser

Any scripts or data that you put into this service are public.

gadget3 documentation built on July 3, 2024, 9:07 a.m.