mrg_script()sets themrg.scriptoption usingthis_file_proj().tables_to()sets thepmtables.diroption as the default table output directory; this function also sets thepmtables.path.typeoption, defaulting toproj.figures_to()sets themrggsave.diroption as the default figure output directory.tf_options()prints themrg.script,pmtables.dir, andmrggsave.diroptions to the console.tf_options_clear()clears options set bymrg_script(),tables_to(), andfigures_to(), setting the option value toNULL.
Usage
tf_options()
tf_options_clear(quietly = FALSE)
mrg_script(path = NULL)
tables_to(path, create = FALSE, set_script = TRUE, path.type = "proj")
figures_to(path, create = FALSE, set_script = TRUE)Arguments
- quietly
if
TRUE, don't echotf_options()outputs after options are cleared withtf_options_clear().- path
the absolute path or path relative to the current working directory.
- create
if
TRUE, the directory will be created withfs::dir_create()in case it does not already exist.- set_script
if
TRUE(the default), include a call tomrg_script()to set themrg.scriptoption.- path.type
indicates how
pmtablesshould format the path portion of table annotations; seepmtables::format_table_path.