Write Default Arguments for draft_report() to YAML-file
Source: R/default_draft_report_arguments_in_yaml.R
write_default_draft_report_args.RdWrite Default Arguments for draft_report() to YAML-file
Usage
write_default_draft_report_args(
path,
ignore_args = c("data", "...", "dep", "indep", "chapter_structure", "chapter_overview",
"path")
)Arguments
- path
scalar<character>// RequiredPath of the YAML-file to write. There is no default; pass an explicit path, e.g.
"settings.yaml".- ignore_args
vector<character>// default:c("data", "...", "dep", "indep", "chapter_structure", "chapter_overview", "path")(optional)A character vector of argument (names) not to be written to file.
"path"is excluded because it names the output file of this call rather than a setting worth recording.
Examples
write_default_draft_report_args(path = tempfile(fileext = ".yaml"))
#> [1] "/tmp/RtmpBTNcfC/file1c9f41647f3e.yaml"