Skip to contents

Read Default Arguments for draft_report() from YAML-file

Usage

read_default_draft_report_args(path)

Arguments

path

scalar<character> // Required. default: settings.yaml

Value

The defaults as a yaml-object.

Examples

tmpfile <- tempfile(fileext = ".yaml")
write_default_draft_report_args(path = tmpfile)
#> [1] "/tmp/Rtmpaw0V2x/file17946b640ebd.yaml"
read_default_draft_report_args(path = tmpfile)
#> $title
#> [1] "Report"
#> 
#> $authors
#> NULL
#> 
#> $authors_col
#> [1] "author"
#> 
#> $chapter_yaml_file
#> NULL
#> 
#> $chapter_qmd_start_section_filepath
#> NULL
#> 
#> $chapter_qmd_end_section_filepath
#> NULL
#> 
#> $index_filename
#> [1] "index"
#> 
#> $index_yaml_file
#> NULL
#> 
#> $index_qmd_start_section_filepath
#> NULL
#> 
#> $index_qmd_end_section_filepath
#> NULL
#> 
#> $report_filename
#> [1] "0_report"
#> 
#> $report_yaml_file
#> NULL
#> 
#> $report_qmd_start_section_filepath
#> NULL
#> 
#> $report_qmd_end_section_filepath
#> NULL
#> 
#> $ignore_heading_for_group
#> [1] ".template_name"       ".variable_type_dep"   ".variable_type_indep"
#> [4] ".variable_group_dep"  "chapter"             
#> 
#> $replace_heading_for_group
#>   .variable_label_suffix_dep .variable_label_suffix_indep 
#>         ".variable_name_dep"       ".variable_name_indep" 
#> 
#> $prefix_heading_for_group
#> NULL
#> 
#> $suffix_heading_for_group
#> NULL
#> 
#> $require_common_categories
#> [1] TRUE
#> 
#> $combined_report
#> [1] TRUE
#> 
#> $attach_chapter_dataset
#> [1] TRUE
#> 
#> $auxiliary_variables
#> NULL
#> 
#> $serialized_format
#> NULL
#> 
#> $max_path_warning_threshold
#> [1] 260
#> 
#> $log_file
#> NULL
#>