gghdr icon indicating copy to clipboard operation
gghdr copied to clipboard

Guide compatability with ggplot2 >=3.5.0

Open teunbrand opened this issue 1 year ago • 9 comments

Hello Sayani,

Apologies for the cold PR without posting an issue first. The ggplot2 package has changed the implementation of the guide system, which means that the old S3 system will no longer work, see ggplot2's news file.

This PR aims to update the guide_prob methods so that it is compatible with the development version of ggplot2. It is still a work in progress (WIP) as I'm doing an inventory of S3 guides to preserve them.

Best, Teun

teunbrand avatar Jul 04 '23 20:07 teunbrand

This PR is now ready for review, though there were some warnings that appeared unrelated to this PR.

teunbrand avatar Aug 28 '23 17:08 teunbrand

This is a reminder that the release of the ggplot2 version that contains changes to the guide system is scheduled soon.

teunbrand avatar Feb 07 '24 09:02 teunbrand

This would be great to implement as I'm working on trying to implement hdr plots that are used in this vignette to represent niche regions produced by the package {SIBER}. I'd love to make these plots in ggplot instead of base and this package looks great but seems to no longer work considering the changes to ggplot. Seems like this PR would fix that...thoughts? @Sayani07 and @mitchelloharawild

benjaminhlina avatar Apr 18 '24 16:04 benjaminhlina

@benjaminhlina As far as I can tell, this package hasn't seen any updates for the past 2 years along with a sparse github activity over the same period from the maintainer. Because this issue wasn't resolved in time, the package has also been archived on CRAN.

Per the README, the package indicates it is part of an @rOpenSci project, so it might be best to ask them what the future of this package might look like. If that user handle doesn't trigger any notification, I'd like to loop in @maelle whose name I know from social media and might be able to redirect this to the attention of the appropriate person. (Apologies for the noise!)

teunbrand avatar Apr 18 '24 16:04 teunbrand

Thanks for providing some info on the current status of the package and who to reach out to about the status of this package. appreciate the work you've put into trying to update and maintain the package.

benjaminhlina avatar Apr 18 '24 16:04 benjaminhlina

I can take over as maintainer for this and get it back on CRAN, but the long term future of the package is probably merging with ggdist and using the hdr class from distributional.

mitchelloharawild avatar Apr 18 '24 23:04 mitchelloharawild

:wave: @teunbrand! You were right to ping me as @ropensci will not notify anyone. Anyhow, this package was created during an rOpenSci unconference and was then transferred to the personal account of an author (#18), it is not part of the rOpenSci suite of packages.

I see @mitchelloharawild responded, thanks!

maelle avatar Apr 19 '24 05:04 maelle

@mitchelloharawild it might make sense to remove the rOpenSci footer from the README. :smile_cat:

maelle avatar Apr 19 '24 05:04 maelle

Agreed regarding the footer, either @Sayani07 can fix the package and remove it, or transfer the repository and I'll take over as maintainer. Package maintainer discussions can/will continue in #22.

mitchelloharawild avatar Apr 19 '24 06:04 mitchelloharawild