Skip to content

revdepcheck 2025-05-20 #6469

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

revdepcheck 2025-05-20 #6469

wants to merge 1 commit into from

Conversation

thomasp85
Copy link
Member

No description provided.

Comment on lines +69 to +75
> library(sf)
Linking to GEOS 3.12.1, GDAL 3.8.4, PROJ 9.4.0; sf_use_s2() is TRUE
> bl = read_sf(adklakedata::adk_shape())
Error in process_cpl_read_ogr(x, quiet, check_ring_dir = check_ring_dir, :
package tibble not available: install first?
Calls: read_sf ... st_read -> st_read.character -> process_cpl_read_ogr
Execution halted
Copy link
Collaborator

Choose a reason for hiding this comment

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

We moved tibble to suggests (#5990), so it isn't automatically downloaded for reverse dependencies. This should be solved at their end by setting a tibble dependency, I think.

Comment on lines +306 to +313
3. └─ggplot2:::scale_backward_compatibility(...)
4. ├─rlang::exec(scale, !!!args)
5. └─ggplot2 (local) `<fn>`(...)
6. ├─ggplot2::discrete_scale(...)
7. │ └─ggplot2::ggproto(...)
8. │ └─rlang::list2(...)
9. └─ggplot2:::pal_qualitative(type = type)
10. └─ggplot2:::stop_input_type(type, "a character vector or list of character vectors")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should look into stabilising scale_backward_compatibility()

> data(iris)
> bar_plot(iris)
Error in pm[[2]] : subscript out of bounds
Calls: bar_plot ... plotly_build -> ggplotly -> ggplotly.ggplot -> gg2list
Copy link
Collaborator

Choose a reason for hiding this comment

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

Plotly errors are still common. I've thrown a PR their way, but it isn't on CRAN yet. Should check with the S7 conversion before they do.

Comment on lines +997 to +1000
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-dists.R:34:3'): Success ──────────────────────────────────────
plotNormalInvGamma(3, 1, 1, 1)$labels$y not equal to "sig_sq".
target is NULL, current is character
Copy link
Collaborator

Choose a reason for hiding this comment

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

Typical case of #6290. About half of the PRs I had sent out aren't merged yet.

Comment on lines +1087 to +1091
── Failure ('test-PPV_heatmap.R:1097:3'): Plot with line overlay ───────────────
vapply(p$result$layers, function(x) class(x$geom)[1], "") (`actual`) not identical to c("GeomTile", "GeomSegment", "GeomPoint", "GeomMarkRect") (`expected`).

`names(actual)` is a character vector ('geom_tile', 'annotate', 'annotate...3', 'geom_mark_rect')
`names(expected)` is absent
Copy link
Collaborator

Choose a reason for hiding this comment

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

Getting test failures for layers having names now (#5967). Should be harmless, but annoying that tests are broken.

Comment on lines +3635 to +3641
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-plot.R:50:3'): ggplot2 implementation works ──────────────────
`print(gg1)` produced warnings.
── Failure ('test-plot.R:56:3'): ggplot2 implementation works ──────────────────
`print(gg3)` produced warnings.

[ FAIL 2 | WARN 14 | SKIP 0 | PASS 2766 ]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Expecting functions to be silent will break upon lifecycle changes. These should probably be snapshot tests on their end.

@teunbrand
Copy link
Collaborator

teunbrand commented May 21, 2025

Here is an initial breakdown of the problems:

  • 151 I couldn't superficially deduce what was going on
  • 65 still via plotly
  • 40 have problems with na.value
  • 27 still test labels (down from 32 last revdepcheck)
  • 25 have problems with scale backwards compatibility
  • 8 packages use now-defunct functions/arguments, if you look at the CRAN pages these sometimes have their last release in 2016, so that might check out.
  • 5 have problems caused by layer names
  • 4 via ggtern
  • 4 borrow internals they shouldn't
  • 4 have the sf-tibble interaction I mentioned
  • 3 have some kind of problem with the facet labelling
  • 3 have some kind of problem with the make_title() method, I should dig into that
    • They seem independent problems
  • 2 packages still read default_aes fields as if they are vectors
  • 2 packages use expressions as labels
  • 2 via ggsurvfit
  • 7 via other identified but unique reasons

Comment on lines +889 to +897
18. └─vctrs (local) `<fn>`()
19. └─vctrs::vec_default_ptype2(...)
20. ├─base::withRestarts(...)
21. │ └─base (local) withOneRestart(expr, restarts[[1L]])
22. │ └─base (local) doWithOneRestart(return(expr), restart)
23. └─vctrs::stop_incompatible_type(...)
24. └─vctrs:::stop_incompatible(...)
25. └─vctrs:::stop_vctrs(...)
26. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is also a recurring error, it think it might be because vctrs is too strict. Or at least: people use the lack of strictness we had earlier.

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