Skip to content

ggupset breaks with version 3.3.0 #3914

Closed
@const-ae

Description

@const-ae

Hi,

I noticed yesterday that with the new version of ggplot, my extension ggupset breaks when I add a scale_x_mergelist().
On the positive side, the main functionality of the package is still intact and my replacement combination matrix axis still works.

However, I have a helper function scale_x_mergelist() that converts a list column into a character vector with paste(..., collapse = "-"). Previously, the collapsed string was shown on the x-axis, now it is blank:

library(ggplot2)
library(ggupset)
ggplot(tidy_movies, aes(x = Genres)) +
  geom_bar() +
  scale_x_mergelist(sep = "-")

Created on 2020-03-29 by the reprex package (v0.3.0)

Before the change the plot looked like this:

From my preliminary investigations, I think the issue might be related to #3398. However, I cannot figure out how to adapt the code of my package to make it work again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions