r-yaml
r-yaml copied to clipboard
R package for converting objects to and from YAML
I am having some trouble with port mappings when generating a yaml file. I create an r object like so: ```R YAML
I ran into a weird parsing case. I use yaml files to hold file paths (which are parameters to later computations). In a rare case the path could have hash...
Would it be possible to customize the quote character used when generating YAML? For example: ``` > yaml::as.yaml(as.character(Sys.Date())) [1] "'2022-04-14'\n" ``` I'd like a way to tell `yaml` to quote...
Hello, I'm trying to make an R implementation that would output this yaml: ```yaml steps: - name: 'gcr.io/cloud-builders/docker' args: ['build', '-t', 'gcr.io/[PROJECT_ID]/[IMAGE]', '.'] ``` But I can't find some R...
When we parse below example with `yaml.load` ```yml key: value array1: - item array2: - item1 - item2 ``` we get ```r str(yaml::yaml.load(" key: value array1: - item array2: -...
# Problem Statement * The parser library `libyaml` requires only UTF-8 strings as input. * R will label a string encoding as "unknown" by default. * There have been complaints...
YAML supports "multiple documents in one file" with boundary markers (`---`), see https://yaml.org/spec/1.1/#id897596 From searching the source code, it seems like the underlying library does communicate document beginnings and ends...
Can you provide a method to link to systemwide libyaml instead of the bundled one?
It would be great if that package could support yaml 1.2, which apparently the definite version and is already 10 years old now (https://yaml.org/spec/). Changes are nicely summarized here: https://perlpunk.github.io/slides.tpcig2018/yamlpp/slide022.html....
`{yaml}` package version is 2.3.6. ``` r library(yaml) x $`FALSE` #> [1] 100 ```