-
Notifications
You must be signed in to change notification settings - Fork 3
Reproduce skeleton with updates #160
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
Conversation
* 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>
* 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>
… acknow, and tables and figs if desired
…e for rerender_skeleton arg
b53266d
to
c5934d0
Compare
…on arg in create_template after minimal testing
…leton is rerendered; can now add new section when skeleton is rerendered and keep those sectioning when skeleton is rerendered at a later time
… update documentation and other package needs
Can you please provide an example for how to use the new rerender_skeleton argument? I've been trying this and it's not producing a skeleton qmd with an updated species name in my original report folder (./report) nor the new report folder created in the original report folder (./report/report):
|
I haven't added in an example because I feel like there are already a lot of examples in the script. The way to use this feature is to run create_template(rerender_skeleton = TRUE, ...) you can select one of the arguments described in the documentation for now such as adding in a new section, changing the sectioning, updating the model output file name, adding an additional bibliography, adding more authors, and more. The caveat is that that working directory should be the "report" folder where the skeleton.qmd is located. The arguments in your example won't change anything. The argument assumes that you still want to use the same script and folder, but just update the skeleton with a few options (even though they could just be updated manually as well) |
I keep running into issues. For instance, I'll enter the basic |
Okay that’s super odd. I will try and fix this. The argument will inherit
the old region so you should not have to replace that. I did not however
set it up to update a completely blank template so I need to do that.
If you want to add a new section, custom = T needs to be added to the
arguments still.
Thanks for your testing!
…On Fri, Mar 7, 2025 at 11:09 AM Sophie Breitbart ***@***.***> wrote:
Can you please provide an example for how to use the new rerender_skeleton
argument? I've been trying this and it's not producing a skeleton qmd with
an updated species name in my original report folder (./report) nor the new
report folder created in the original report folder (./report/report):
create_template(rerender_skeleton = TRUE, species = "Black sea bass",
file_dir = "report")
I haven't added in an example because I feel like there are already a lot
of examples in the script.
The way to use this feature is to run create_template(rerender_skeleton =
TRUE, ...) you can select one of the arguments described in the
documentation for now such as adding in a new section, changing the
sectioning, updating the model output file name, adding an additional
bibliography, adding more authors, and more. The caveat is that that
working directory should be the "report" folder where the skeleton.qmd is
located. The arguments in your example won't change anything. The argument
assumes that you still want to use the same script and folder, but just
update the skeleton with a few options (even though they could just be
updated manually as well)
I keep running into issues. For instance, I'll enter the basic
create_template(), then set the wd to "report", then enter asar::create_template(rerender_skeleton
=T, alt_title = T, title = "my new title", office = "NWFSC", species = "new
fish", new_section = "my_new_section", section_location =
"after-introduction"). The skeleton qmd file is updated, but with the
"{{< pagebreak >}} Please cite this publication as: " and
output_and_quantities section repeated over and over.
—
Reply to this email directly, view it on GitHub
<#160 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A55RLSRZCJZPOIFSG26PZ7D2THADJAVCNFSM6AAAAABWSDOGP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBWHA2TAMBSGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[image: sbreitbart-NOAA]*sbreitbart-NOAA* left a comment
(nmfs-ost/asar#160)
<#160 (comment)>
Can you please provide an example for how to use the new rerender_skeleton
argument? I've been trying this and it's not producing a skeleton qmd with
an updated species name in my original report folder (./report) nor the new
report folder created in the original report folder (./report/report):
create_template(rerender_skeleton = TRUE, species = "Black sea bass",
file_dir = "report")
I haven't added in an example because I feel like there are already a lot
of examples in the script.
The way to use this feature is to run create_template(rerender_skeleton =
TRUE, ...) you can select one of the arguments described in the
documentation for now such as adding in a new section, changing the
sectioning, updating the model output file name, adding an additional
bibliography, adding more authors, and more. The caveat is that that
working directory should be the "report" folder where the skeleton.qmd is
located. The arguments in your example won't change anything. The argument
assumes that you still want to use the same script and folder, but just
update the skeleton with a few options (even though they could just be
updated manually as well)
I keep running into issues. For instance, I'll enter the basic
create_template(), then set the wd to "report", then enter asar::create_template(rerender_skeleton
=T, alt_title = T, title = "my new title", office = "NWFSC", species = "new
fish", new_section = "my_new_section", section_location =
"after-introduction"). The skeleton qmd file is updated, but with the
"{{< pagebreak >}} Please cite this publication as: " and
output_and_quantities section repeated over and over.
—
Reply to this email directly, view it on GitHub
<#160 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A55RLSRZCJZPOIFSG26PZ7D2THADJAVCNFSM6AAAAABWSDOGP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBWHA2TAMBSGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
…ys skeleton could be updated especially from blank; update yaml respectively
…rerender_skeleton option
… had initially run a blank template
… be updated in the yaml, add question if old skeleton should be deleted
… be updated in the yaml, add question if old skeleton should be deleted
I can make a fix so it check to make sure authors are not repeated if someone happens to use the same code as before with just the new argument. My intention is that this approach to using create_template(rerender_skeleton=TRUE) is that users can just run in in the console to make quick adjustments/improvements |
…revious function was run with small changes to authors
…ame wrongly produced when species name and other info is not present
…irections at the end of fxn
@sbreitbart-NOAA Can you rerun your example and let me know if you have any other issues? |
#' changes to the main skeleton need to be made. This reproduces the | ||
#' yaml, output (if changed), preamble quantities restructures your | ||
#' sectioning in the skeleton if indicated. All files in your folder | ||
#' will remain as is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor note: the .Rd documentation needs updating (this doesn't appear in that file)
If I run this code:
I get a skeleton.qmd file that still has an 'NA' before the newly added author: |
@sbreitbart-NOAA I am not getting that. Have you pulled down the changed from online? |
Yes, I've fetched and rebased multiple times, and closed/reopened RStudio. Not sure what the issue is! If you're not getting it, then maybe it's not an issue? |
…irections at the end of fxn
* 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
…irections at the end of fxn
…irections at the end of fxn
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
#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>
What is the feature?
create_template
is initially ran without overwriting other files -- this will be a temporary way to produce this feature. In the future, the goal is to allow the user to runcreate_template(rerender_skeleton=TRUE)
in the console and make the changes in a simple, efficient wayHow have you implemented the solution?
create_template
create_template
furtherDoes the PR impact any other area of the project, maybe another repo?