The overarching function to create or pull a stock assessment report
template is create_template(). This is the first function
the analyst will call to develop a stock assessment report. This step
comes after running the stock assessment model and performing necessary
diagnostics.
Here will be the location for the workflow and navigation of using this R package.
After generating your Figures and Tables .qmd files, there will be pre-generated captions for your figures and tables, and alternative text for your figures. Please be sure to double-check that these captions and alternative text are 1) accurate and 2) complete. To learn how to edit and update these elements, please refer to the accessibility vignette’s guide.
TLDR:
Reference quantities in preamble using the following notation,
After generating a report template, the “skeleton.qmd” file will contain multiple parts that control the format and outline of the report as well as helpful quantities and estimates that a user will be able to implement within their document to make it more reproducible. The chunk we call the “preamble” is an R chunk containing quantities that assessment scientists often reference throughout their document. Users should take advantage of this chunk by referencing in-line code notation throughout their document to fill in these quantities (See our Rmarkdown article for more information). This allows the user to quickly and efficiently update quantities as model results change throughout the assessment process.
The preamble quantities are calculated from the preamble.R file found in your “report” folder and include the following quantities:
We encourage users to either adjust these quantities or add more as needed. If added new quantities, they will still be available in the document even if they aren’t located in the “preamble” chunk; however, we highly encourage users to add them for better reproducibility and tracking.