Closed flohump closed 3 months ago
Hi there, thanks for the report! Is this the same as #151 and does installing the github version solve the problem?
Yes, indeed. It is the same issue. Using the most recent GitHub version via devtools::install_github("teunbrand/ggh4x")
solves both problems. The plot ggplot2_OK.png
can be reproduced. Thanks for your help!
Are you planning a new release of ggh4x
soon?
Are you planning a new release of ggh4x soon?
Not really, I haven't accumulated enough bugfixes or improvements to bother CRAN with a new release just yet. I'll mark this issue as complete as the issue is the same as the previous one.
The following plotting script worked fine with ggh4x_0.2.7, ggplot2_3.4.2 and ggtext_0.1.2. See figure ggplot2_OK.png.
However, with the most recent versions from CRAN, ggh4x_0.2.8, ggplot2_3.5.0 and ggtext_0.1.2, I get an error:
Don't know how to get width of ‹integer› object
. See ggplot2_Problem2.png. This is caused byggtext::element_markdown()
. If replaced withelement_text
, the plot is produced. But of the course the html code in df$bundle is not interpreted.With ggh4x_0.2.7, ggplot2_3.5.0 and ggtext_0.1.2, the plot is produced but
size = "variable"
instrip_nested
has no effect. See ggplot2_Problem1.png.It would be awesome if these bugs could be fixed.
ggplot2_OK.png![ggplot2_OK](https://github.com/teunbrand/ggh4x/assets/16921122/fe45358f-36e4-4cd4-8e25-43b913efbcd3)
ggplot2_Problem2.png
ggplot2_Problem1.png![ggplot2_Problem1](https://github.com/teunbrand/ggh4x/assets/16921122/aeaa09ea-2f75-408a-9d58-3f04e90d2f46)