Package: yum 0.1.0
Gjalt-Jorn Peters
yum: Utilities to Extract and Process 'YAML' Fragments
Provides a number of functions to facilitate extracting information in 'YAML' fragments from one or multiple files, optionally structuring the information in a 'data.tree'. 'YAML' (recursive acronym for "YAML ain't Markup Language") is a convention for specifying structured data in a format that is both machine- and human-readable. 'YAML' therefore lends itself well for embedding (meta)data in plain text files, such as Markdown files. This principle is implemented in 'yum' with minimal dependencies (i.e. only the 'yaml' packages, and the 'data.tree' package can be used to enable additional functionality).
Authors:
yum_0.1.0.tar.gz
yum_0.1.0.tar.gz(r-4.5-noble)yum_0.1.0.tar.gz(r-4.4-noble)
yum_0.1.0.tgz(r-4.4-emscripten)yum_0.1.0.tgz(r-4.3-emscripten)
yum.pdf |yum.html✨
yum/json (API)
# Install 'yum' in R: |
install.packages('yum', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://gitlab.com/r-packages/yum
Last updated 3 years agofrom:1eb246e329. Checks:OK: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 23 2024 |
R-4.5-linux | OK | Nov 23 2024 |
Exports:build_treedelete_yaml_fragmentsextract_yaml_dirextract_yaml_fragmentsfind_yaml_fragment_indicesflatten_list_of_listsis.evenis.oddload_and_simplifyload_and_simplify_dirload_yaml_dirload_yaml_fragmentsload_yaml_listsimplify_by_flatteningvecTxtvecTxtQ
Dependencies:yaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Convert the objects loaded from YAML fragments into a tree | build_tree |
Delete all YAML fragments from a file | delete_yaml_fragments |
Extract all YAML fragments from all files in a directory | extract_yaml_dir |
Extract all YAML fragments from a file | extract_yaml_fragments |
Find the indices ('line numbers') of all YAML fragments from a file | find_yaml_fragment_indices |
Flatten a list of lists to a list of atomic vectors | flatten_list_of_lists |
Checking whether numbers are odd or even | is.even is.odd |
Load YAML fragments in one or multiple files and simplify them | load_and_simplify load_and_simplify_dir |
Load all YAML fragments from all files in a directory | load_yaml_dir |
Load all YAML fragments from a file | load_yaml_fragments |
Load all YAML fragments from all character vectors in a list | load_yaml_list |
Simplify the structure of extracted YAML fragments | simplify_by_flattening |
Easily parse a vector into a character value | vecTxt vecTxtQ |