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

Update for ggplot2 v3.5 #7

Merged
merged 6 commits into from
Mar 1, 2024
Merged

Update for ggplot2 v3.5 #7

merged 6 commits into from
Mar 1, 2024

Conversation

jadeynryan
Copy link
Contributor

@jadeynryan jadeynryan commented Mar 1, 2024

ggtern overwrites ggplot2 methods when attached, which is really problematic (tidyverse/ggplot2#3561 (comment)) and caused all {soils} plots to fail with ggplot2 v3.5. Explored other ternary plot options (Ternary, soiltexture, ggsoiltexture, and plotrix). For now, modified plotrix functions that use base R to recreate the texture triangle. Fingers crossed for ggplot2 allowing more than x,y position aesthetics (tidyverse/ggplot2#3898).

jadeynryan and others added 6 commits February 28, 2024 17:13
* Splits triangle plot and strip plot functions into separate files.
* Creates texture triangle with base R functions instead of ggtern.
* Minor edits to plot documentation.
@jadeynryan jadeynryan merged commit e3a6376 into main Mar 1, 2024
6 checks passed
@jadeynryan jadeynryan deleted the Update-for-ggplot2-v3.5 branch March 1, 2024 21:47
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.

1 participant