mighty.component 0.2.0
CRAN release: 2026-11-12
- Initial CRAN release.
- Breaking:
component$idand theidfromlist_components()are now the component name without file extension, e.g."ady"instead of"ady.mustache"(#118). - Component repos are S7 classes:
mighty_repo(),mighty_repo_local(),mighty_repo_github()andmighty_repos(). GitHub repos use thegithub::prefix (#108). -
find_component()is exported, andlist_components()works with all repo types (#103). - Components can be retrieved from URLs with
mighty_repo_url()(url::prefix), with a time limit per request (timeoutoption) (#104). - GitHub repos are cached per commit, and transient API errors are retried (
max_triesoption) (#93, #95). - GitHub repos no longer leave extraction directories in the temporary directory, also when extraction fails (#119).
-
@originis now a required tag on component headers (#107). - New required
@methodtag on component headers, exposed ascomponent$method(#107). -
@type rowcomponents accept".mighty_subset(<domain>, '<subset>')"asdomainto process only matching rows; other rows are unchanged (#101). -
component$document()checks that knitr is installed, and prints with cli so the output can be suppressed (#119). -
mighty_component_testgains$close()to close the test session. The session is also closed when the object is garbage collected (#119). -
component$stream()closes the file connection when writing fails (#119). - Documentation is revised, and
?mighty_componentand the vignette share one template reference (#117).
