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

siunitx and threeparttable are compatible, remove automatic deactivation of siunitx #208

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

Conversation

mrpg
Copy link

@mrpg mrpg commented Jul 20, 2024

This removes the automatic deactivation of siunitx when it is used with threeparttable. Both packages are indeed compatible. Related issue: #146

Copy link
Owner

@leifeld leifeld left a comment

Choose a reason for hiding this comment

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

Great, thank you! Can you also modify the line expect_warning(texreg(model1, threeparttable = TRUE, siunitx = TRUE), "Switching off 'siunitx'.") in test-texreg.R to verify that both packages together work? I am happy to accept the PR once the package is checked without errors.

@leifeld leifeld added the bug label Jul 23, 2024
@leifeld leifeld self-assigned this Jul 23, 2024
@mrpg
Copy link
Author

mrpg commented Jul 23, 2024

Done in 03f4aac, thank you!

@leifeld
Copy link
Owner

leifeld commented Jul 23, 2024

Well, you deleted the check, but it would be good to have a unit test that verifies that both packages actually work together without error or warning. Can you re-insert and then revise the line you deleted to that effect? I'm not going to blindly accept a PR without having a unit tests that shows it's working as intended. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants