Skip to content

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix part of #5986 (comment).

Briefly, MASS is required for 2D KDE and a particular ellipse type and not broadly all over ggplot2.
This PR moves it to Suggests, adds checks whether it is installed in the relevant places and skips tests when it is not installed.

@PietrH
Copy link
Contributor

PietrH commented Aug 13, 2024

MASS is now dependent on R4.4, stopping me from installing ggplot2 (as a dep) on my friendly local cluster which tops out at R4.3.

So, what's the status of this PR? 👼

@yutannihilation
Copy link
Member

ggplot2's requirement is not that strict on the version of MASS, so it's not really a big deal in theory, while it feels tricky. You should be able to install some older version of MASS like this.

remotes::install_version("MASS", "7.3-60.0.1")

Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

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

LGTM

teunbrand and others added 3 commits November 11, 2024 11:25
@teunbrand teunbrand merged commit 7b62271 into tidyverse:main Nov 11, 2024
13 checks passed
@teunbrand teunbrand deleted the mass_to_suggests branch November 11, 2024 11:02
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.

4 participants