List all available mighty components (.R and .mustache files)
in the specified directories.
Usage
list_components(path, as = c("character", "list", "tibble"))Value
Depending on as:
character: vector of component IDslist: list of component metadata (id, title, description, params, depends, outputs, code)tibble: tibble with one row per component
Examples
path <- system.file("examples", package = "mighty.component")
list_components(path)
#> [1] "ady"
list_components(path, as = "list") |> str(max.level = 1)
#> List of 1
#> $ :List of 7
