Skip to content
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

fix bug where govtable falls over if width_overwrite = NULL #111

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jenisayshi
Copy link
Contributor

Wrapped the custom table width code to only run if width_overwrite is not null and added tests

@jenisayshi jenisayshi requested a review from sarahmwong December 5, 2024 09:28
@jenisayshi jenisayshi changed the title fix bug where govtable falls over if table_width = NULL fix bug where govtable falls over if width_overwrite = NULL Dec 5, 2024
@jenisayshi jenisayshi changed the base branch from development to master December 5, 2024 09:47
@jenisayshi jenisayshi changed the base branch from master to development December 5, 2024 09:49
Base automatically changed from development to master December 5, 2024 17:30
Copy link
Collaborator

@sarahmwong sarahmwong left a comment

Choose a reason for hiding this comment

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

Thanks Jeni! Fix looks good to me, thank you for adding tests too. Please can we add a line in at the top of the function documentation to clarify that if using width_overwrite, the specified widths for columns need to add up to one? Will just need the R documentation running off again and then happy to merge

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