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

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

# dput(commandArgs())

# TODO: 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.