tests/testthat/resources/flags-from-config-yml.R

#| flags-dest: config:flags.yml
#| echo: false

# dput(commandArgs())

# TODO: (stop swallowing warning, captured on board)
# Warning in readLines(file, warn = readLines.warn): incomplete final line found on 'flags.yml'

flags <- yaml::read_yaml("flags.yml", readLines.warn = FALSE)
cat(yaml::as.yaml(flags))

Try the guildai package in your browser

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

guildai documentation built on March 7, 2023, 5:32 p.m.