Skip to content

Bug fix#23

Merged
jacobdum merged 5 commits intomainfrom
bug-fix
Jan 21, 2026
Merged

Bug fix#23
jacobdum merged 5 commits intomainfrom
bug-fix

Conversation

@jacobdum
Copy link
Collaborator

Bug Fixes

  • Fixed an issue where docx_out = NULL for build_report() was failing within validate_input_args().

Before:

Screen.Recording.2026-01-20.at.3.07.37.PM.mov

After:

Screen.Recording.2026-01-20.at.4.25.52.PM.mov

  • Fixed an issue where magic strings with the extension .rds were not being processed correctly by add_tables().

Before:

Screen.Recording.2026-01-20.at.4.39.56.PM.mov

After:

Screen.Recording.2026-01-20.at.4.34.34.PM.mov

@jacobdum jacobdum requested a review from mduncans January 20, 2026 21:43
paste(
"The output file must be a .docx file, not:",
tools::file_ext(docx_out)
if (!is.null(docx_out)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

should this happen before we validate docx_in? if docx in and out are the same (and docx_out is not NULL) then it doesn't matter what extensions?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed validation pathway now

- check if i/o docx are same
- validate input
- validate output
@jacobdum jacobdum merged commit 333bf2a into main Jan 21, 2026
5 checks passed
@jacobdum jacobdum deleted the bug-fix branch January 21, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants