Create Quarto Document of Figures

create_figures_doc(subdir = NULL, include_all = TRUE, rda_dir = NULL)

Arguments

subdir

Location of subdirectory storing the assessment report template

include_all

TRUE/FALSE; Option to include all default figures for a stock assessment report. Default is true.

rda_dir

If the user has already created .rda files containing figures, tables, alt text, and captions with satf, rda_dir represents the location of the folder containing these .rda files ("rda_files"). Otherwise, if the user has not used satf to make those .rda files already, those files will be generated automatically and placed within the "report" folder within the file_dir. The "rda_files" folder would have been made with satf::exp_all_figs_tables(), or by exporting files by running individual satf figure- and table-generating functions. If you have used satf to generate these .rda files, you can leave the arguments below blank. NOTE: If an "rda_files" folder is detected within rda_dir, .rda files will not be regenerated.

Value

A quarto document with pre-loaded R chunk that adds the stock assessment tables from the nmfs-ost/satf R package. The quarto document will become part of the stock assessment outline.