Skip to content

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

Open
mrpg wants to merge 4 commits into
leifeld-lab:masterfrom
mrpg:master
Open

siunitx and threeparttable are compatible, remove automatic deactivation of siunitx#208
mrpg wants to merge 4 commits into
leifeld-lab:masterfrom
mrpg:master

Conversation

@mrpg
Copy link
Copy Markdown

@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
Copy Markdown
Collaborator

@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
Copy Markdown
Author

mrpg commented Jul 23, 2024

Done in 03f4aac, thank you!

@leifeld
Copy link
Copy Markdown
Collaborator

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.

@mrpg
Copy link
Copy Markdown
Author

mrpg commented Dec 20, 2025

Added with 0d08917.

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