Skip to content

Fix tests to prepare for upcoming leaflet v2.2.0 release#70

Merged
tomroh merged 1 commit into
tomroh:mainfrom
gadenbuie:fix-for-leaflet-v2-2
Aug 16, 2023
Merged

Fix tests to prepare for upcoming leaflet v2.2.0 release#70
tomroh merged 1 commit into
tomroh:mainfrom
gadenbuie:fix-for-leaflet-v2-2

Conversation

@gadenbuie

Copy link
Copy Markdown
Contributor

Hi @tomroh! We're preparing the next release of leaflet (v2.2.0, rstudio/leaflet#876) and noticed that our updates break a test in your package.

I've provided a relatively simple fix in this PR. In essence, leaflet() now includes its own dependencies in the dependencies item of the returned htmlwidgets object, which means that it contains both our dependencies and the dependencies your extension has added. I simply switch from testthat::expect_equal() to testthat::expect_contains().

Do you think you'd be able to update your package on CRAN in the next two weeks? We're planning on submitting leaflet v2.2.0 on Tuesday, August 29 at the latest and are hoping we can have all reverse dependencies issues worked out by then. Thanks!

@netlify

netlify Bot commented Aug 15, 2023

Copy link
Copy Markdown

Deploy Preview for leaflegend canceled.

Name Link
🔨 Latest commit 0373b9d
🔍 Latest deploy log https://app.netlify.com/sites/leaflegend/deploys/64db72f2de51a40008e6db0b

@gadenbuie gadenbuie mentioned this pull request Aug 15, 2023
6 tasks
@tomroh tomroh merged commit 197f07f into tomroh:main Aug 16, 2023
@gadenbuie gadenbuie deleted the fix-for-leaflet-v2-2 branch August 16, 2023 20:27
@tomroh

tomroh commented Aug 16, 2023

Copy link
Copy Markdown
Owner

@gadenbuie I'll publish to CRAN within the next week

@gadenbuie

Copy link
Copy Markdown
Contributor Author

Great, thank you! If you don't mind leaving a comment here when it's accepted, that would be much appreciated 😄

@tomroh

tomroh commented Aug 20, 2023

Copy link
Copy Markdown
Owner

It's on it's way to CRAN now.

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