Skip to content

Feature draft #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 26, 2025
Merged

Feature draft #174

merged 3 commits into from
Mar 26, 2025

Conversation

Schiano-NOAA
Copy link
Collaborator

What is the feature?

*Default skeletons contain draft watermark - current users can update their skeleton by running create_template(rerender_skeleton=TRUE)

  • New function to remove the watermark called "remove_draft"

How have you implemented the solution?

*Added notation in YAML, for pdf, and after YAML, for html, to produce a watermark indicating the assessment is in draft.
*the new function, remove_draft, takes away this notation in the skeleton

Does the PR impact any other area of the project, maybe another repo?

*no

Copy link
Contributor

github-actions bot commented Mar 20, 2025

Instructions for code reviewer

Hello reviewer, thanks for taking the time to review this PR!

  • Please use this checklist during your review, checking off items that you have verified are complete!
  • For PRs that don't make changes to code (e.g., changes to README.md or Github actions workflows), feel free to skip over items on the checklist that are not relevant. Remember it is still important to do a thorough review.
  • Then, comment on the pull request with your review indicating where you have questions or changes need to be made before merging.
  • Remember to review every line of code you’ve been asked to review, look at the context, make sure you’re improving code health, and compliment developers on good things that they do.
  • PR reviews are a great way to learn, so feel free to share your tips and tricks. However, for optional changes (i.e., not required for merging), please include nit: (for nitpicking) before making the suggestion. For example, nit: I prefer using a data.frame() instead of a matrix because...
  • Engage with the developer when they respond to comments and check off additional boxes as they become complete so the PR can be merged in when all the tasks are fulfilled. Make it clear when this has been reached by commenting on the PR with something like This PR is now ready to be merged, no changes needed.

Checklist

  • The PR is requested to be merged into the appropriate branch (typically main)
  • The code is well-designed.
  • The functionality is good for the users of the code.
  • Any User Interface changes are sensible and look good.
  • The code isn’t more complex than it needs to be.
  • Code coverage remains high, indicating the new code is tested.
  • The developer used clear names for everything.
  • Comments are clear and useful, and mostly explain why instead of what.
  • Code is appropriately documented (doxygen and roxygen).

…where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end
…- also fix remove_draft where the default was finding the tex file rather than the qmd file
@Schiano-NOAA Schiano-NOAA marked this pull request as ready for review March 25, 2025 15:12
@Schiano-NOAA Schiano-NOAA changed the base branch from dev to skeleton-render March 25, 2025 15:12
@Schiano-NOAA
Copy link
Collaborator Author

@sbreitbart-NOAA testing for this feature should only have to require running a blank create_template then rendering. I checked for both pdf and html bc there are differences between how each are implemented. Thanks!!

Copy link
Collaborator

@sbreitbart-NOAA sbreitbart-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great feature!
Question: Why is the watermark different for pdf vs html? I'd recommend choosing one for both formats if there's not a strong reason for two watermarks.
Suggestion: Make remove_draft.R into a full function, with argument explanations, examples, etc. so that the user can learn exactly how this function works. I had to realize that I had to set my wd to "report" or else this wouldn't work (only knew this from previous conversations about skeleton-render. I think adding those instructions to the fxn documentation is essential for the fxn to be used.

@Schiano-NOAA
Copy link
Collaborator Author

Great feature! Question: Why is the watermark different for pdf vs html? I'd recommend choosing one for both formats if there's not a strong reason for two watermarks. Suggestion: Make remove_draft.R into a full function, with argument explanations, examples, etc. so that the user can learn exactly how this function works. I had to realize that I had to set my wd to "report" or else this wouldn't work (only knew this from previous conversations about skeleton-render. I think adding those instructions to the fxn documentation is essential for the fxn to be used.

Sounds great! Thanks for the suggestions. I totally forgot to add the documentation to the function so great catch on that. I will make those changes then merge into skeleton-render branch

… various documentation around the functions modified for this feature
@Schiano-NOAA Schiano-NOAA merged commit cdea3f1 into skeleton-render Mar 26, 2025
@Schiano-NOAA Schiano-NOAA deleted the feature-draft branch March 26, 2025 15:00
Schiano-NOAA added a commit that referenced this pull request Mar 26, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
Schiano-NOAA added a commit that referenced this pull request Mar 26, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
Schiano-NOAA added a commit that referenced this pull request Mar 26, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
Schiano-NOAA added a commit that referenced this pull request Apr 8, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
Schiano-NOAA added a commit that referenced this pull request Apr 8, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
Schiano-NOAA added a commit that referenced this pull request Apr 8, 2025
* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* Reproduce skeleton and add default draft watermark to reports (#160)

* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* Reproduce skeleton and add default draft watermark to reports (#160)

* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* fix vignette yaml

* Update custom-figs-tabs.Rmd - fix title

* update DESCRIPTION to move unnecessary dependencies to suggests (#175)

* reset branch to dev

* fix old rebase notation that got pushed

* fix old rebase notation that got pushed

* update(a11y fxns): adjust way alt text is added and the tagging function per work done in quarto-accessibility-reprex repo

* update(a11y fxns): update documentation and add in additional checks to fxns

* fix(add_alttext): fix error in loop

* Update ASAR.Rproj

* Move two utils fxns to individual R files (#188)

* Updated a11y vignette to clarify key quantities must always be checked by user

* Add abundance at age and biomass at age plots to create_figures_doc; add project to .gitignore

* Updating documentation to explain how to ensure landscape braces will work by updating Quarto

* moved ID_tbl_width_class() and export_split_tbls() from utils to own functions; also changed add_alttext.r to .R filetype

* Make test for ID_tbl_width_class()

* Make test for export_split_tbls() and add model output that makes a table large enough to split for said fxn

* Update stated locations of export_split_tbls() and ID_tbl_width_class()

* add landings table to create_tables_doc.R

---------

Co-authored-by: Schiano-NOAA <samantha.schiano@noaa.gov>
Co-authored-by: Sam Schiano <125507018+Schiano-NOAA@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
Schiano-NOAA added a commit that referenced this pull request Apr 10, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
Schiano-NOAA added a commit that referenced this pull request Apr 10, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
Schiano-NOAA added a commit that referenced this pull request Apr 10, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
Schiano-NOAA added a commit that referenced this pull request Apr 10, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
sbreitbart-NOAA added a commit that referenced this pull request Apr 10, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
sbreitbart-NOAA added a commit that referenced this pull request Apr 10, 2025
* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
sbreitbart-NOAA added a commit that referenced this pull request Apr 14, 2025
#194)

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* Reproduce skeleton and add default draft watermark to reports (#160)

* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* Reproduce skeleton and add default draft watermark to reports (#160)

* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* reset branch to dev

* fix old rebase notation that got pushed

* fix old rebase notation that got pushed

* update(a11y fxns): adjust way alt text is added and the tagging function per work done in quarto-accessibility-reprex repo

* update(a11y fxns): update documentation and add in additional checks to fxns

* Update ASAR.Rproj

* Move two utils fxns to individual R files (#188)

* Updated a11y vignette to clarify key quantities must always be checked by user

* Add abundance at age and biomass at age plots to create_figures_doc; add project to .gitignore

* Updating documentation to explain how to ensure landscape braces will work by updating Quarto

* moved ID_tbl_width_class() and export_split_tbls() from utils to own functions; also changed add_alttext.r to .R filetype

* Make test for ID_tbl_width_class()

* Make test for export_split_tbls() and add model output that makes a table large enough to split for said fxn

* Reproduce skeleton and add default draft watermark to reports (#160)

* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* Reproduce skeleton and add default draft watermark to reports (#160)

* Merge newer dev branch into old (#148)

* Minor grammatical changes just to set up new dev-1.1 branch (changed quarto --> Quarto)

* Feat(vignettes):
-added tables of contents to vignettes
-added tip for how to edit rda files to a11y vignette
-added link to faqs vignette to a11y vignette re: how to edit alt text and captions

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>

* Custom template fixes (#143)

* update(create_template): comment out skeleton pop up at the end

* update(add_section): add functionality for putting new subsection into section

* Update(add_section): fix pathing for locating section to place code and change from add_chunk to add_child

* update(create_template): select only custom_sections when user wants to make a different outline of report

custom must = TRUE otherwise copies all files

* Fix(create_template): adjust if statement argument for custom_sections

* Add nmfspalette package back in

* removed add_theme and associated test and documentation

* remove static NOAA Fishies in authorship

* update NOAA fisheries affiliations

Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update(create_template): custom_sections adds all selected plus refs, acknow, and tables and figs if desired

* create(create_yaml): initial commit for fxn and remove from create_template

* update(create_template): remove yaml code from fxn and begin to sparse for rerender_skeleton arg

* update(create_template): code to find previous skeleton format in yaml

* update(create_template): begin to build foundation for rerender skeleton

* update(create_template): add authors if selected on rerender skeleton

* update(create_template): option to include additional parameters to yaml

* update(create_template): option to add bib file - cannot remove old one

* update(rerender): make improvements to functioning of rerender_skeleton arg in create_template after minimal testing

* update(create-template): fix issue with citation not created when skeleton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time

* update(package): finish updates and checks for rerender skeleton arg; update documentation and other package needs

* update(rerender skeleton): update create_template to include other ways skeleton could be updated especially from blank; update yaml respectively

* update(create_template): finish going through fxn to adjust based on rerender_skeleton option

* update(create_template: allow users to update their results when they had initially run a blank template

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* test change to check PR

* remove test sentence

* test integration into new dev branch (minor grammatical change)

* update(create_template): add condition for when results files need to be updated in the yaml, add question if old skeleton should be deleted

* update(create_yaml): adjust fxn so that parameters are included or changed when indicated

* update(fxns): adjust issues with preamble incorrectly being added and sections into the new skeleton

* fix(create_yaml): remove trailing extra space at the end of the authors formatting

* update(create_yaml): fix issue when rerendering and params are kept from old call

* update function per group discussion

* fix(create_template): fix issue where authors are duplicated if the previous function was run with small changes to authors

* fix(create_template-rerender_skeleton): fix issue with new skeleton name wrongly produced when species name and other info is not present

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* Feature: add draft watermark to default docs (#174)

* feature(draft): initial commit to add in features to create_template where by default there is a draft watermark over the document, remove_draft created so user can remove the mark at the end

* fix(format_quarto): error in notation for includes in header for pdf - also fix remove_draft where the default was finding the tex file rather than the qmd file

* update(documentation): properly document remove_draft an update other various documentation around the functions modified for this feature

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

* improve(create_template): add new message for rerender_skeleton for directions at the end of fxn

---------

Co-authored-by: sbreitbart-NOAA <sophie.breitbart@noaa.gov>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>

* update DESCRIPTION to move unnecessary dependencies to suggests (#175)

* reset branch to dev

* fix old rebase notation that got pushed

* update(a11y fxns): adjust way alt text is added and the tagging function per work done in quarto-accessibility-reprex repo

* Delete ASAR.Rproj

* Updated links to test connection with new dev branch

* fix branch

* Reduce headings by one level as per suggestion from steering committee

---------

Co-authored-by: Schiano-NOAA <samantha.schiano@noaa.gov>
Co-authored-by: Sam Schiano <125507018+Schiano-NOAA@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Schiano-NOAA <Schiano-NOAA@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants