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

Changes for upcoming htmlwidgets 1.6 release #79

Merged
merged 1 commit into from Jan 5, 2023
Merged

Conversation

cpsievert
Copy link
Contributor

@cpsievert cpsievert commented Dec 13, 2022

The upcoming htmlwidgets 1.6 release happens to break the unit tests that check the class of htmlwidgets::shinyWidgetOutput() (the new release will add some additional classes). Updating those expectations to use expect_match() instead of expect_equal() will get them passing with the new release.

Also, with htmlwidgets 1.6, rsc*Output() now throws a warning because they return a tagList() (which won't work for the new fill parameters). And since it seems like you don't need to use tagList() here and can instead just include the extra dependencies in the <div>, I made that change as well

Copy link
Collaborator

@Lytol Lytol left a comment

Choose a reason for hiding this comment

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

Much appreciated, thanks for doing the legwork!

@Lytol Lytol merged commit 34cd4f7 into main Jan 5, 2023
@Lytol Lytol deleted the htmlwidgets-1.6 branch January 5, 2023 18:39
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.

None yet

2 participants