Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The impetus
What is the feature?
create_template
so that rda files can be added as input, if already created, OR generated if model results are included as an argument.How have you implemented the solution?
create_template
, changed theexp_all_figs_tables()
rda_dir argument from subdir to rda_dir. This changes the workflow so that the rda_files folder is always placed in rda_dir, not in the report folder. The issue was that the captions_alt_text.csv file was always being created in rda_dir, butexp_all_figs_tables()
withincreate_template()
was breaking because captions_alt_text.csv wasn't ever within the "report" folder. I chose to keep the rda_files folder in the rda_dir, instead of the report folder, because sometimes the user will be providing their own rda_files folder, and I wanted to keep the workflow consistent among users that did and did not provide their own rda_files folder.create_tables/figures_doc()
calls increate_template
so that rda_dir is always rda_dir (updated to match the change that the rda_files folder is always placed in rda_dir, not in the report folder.)Does the PR impact any other area of the project, maybe another repo?
create_tables_doc()
&create_figures_doc()
calls increate_template
Tested?
create_template()
callcreate_template
call with convert_output = T and model_results = Report.sso