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

Potential future issue with as.ggdend #131

Open
talgalili opened this issue Oct 31, 2024 · 0 comments
Open

Potential future issue with as.ggdend #131

talgalili opened this issue Oct 31, 2024 · 0 comments
Labels

Comments

@talgalili
Copy link
Owner

On R/ggdend.R:

Getting the following warning, which was resolved when size was switched to linewidth. Although, size = 1 and linewidth = 1 won't set the line to the same width. Better to go with the old version

Warning (test-ggdend.R:151:4): ggplot doesn't have warnings for dendrograms
Using size aesthetic for lines was deprecated in ggplot2
3.4.0.
ℹ Please use linewidth instead.
Backtrace:

├─ggplot2::ggplot(as.dendrogram(hclust(dist(mtcars)))) at test-ggdend.R:151:4
└─dendextend:::ggplot.dendrogram(as.dendrogram(hclust(dist(mtcars))))
├─ggplot2::ggplot(as.ggdend(data), ...) at dendextend/R/ggdend.R:635:3
└─dendextend:::ggplot.ggdend(as.ggdend(data), ...)
└─ggplot2::geom_segment(...) at dendextend/R/ggdend.R:537:6
└─ggplot2::layer(...)
└─ggplot2:::deprecate_soft0(...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant