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

marquee_glue does not seem to be working properly #36

Open
JDenn0514 opened this issue Aug 20, 2024 · 0 comments
Open

marquee_glue does not seem to be working properly #36

JDenn0514 opened this issue Aug 20, 2024 · 0 comments

Comments

@JDenn0514
Copy link

Hi!

I was trying to use marquee_glue() and noticed what seem to be a few bugs. Currently, it operates identically as glue::glue(). More specifically, the labels are not wrapped and they don't add color. Here is the code and an accompanying image:

plot_title <- "This is a really really long title that should be wrapped over multiple lines and it should be the color blue"
ggplot(mpg, aes(class)) +
  geom_bar() +
  labs(
    title = marquee::marquee_glue("{.blue {plot_title}}"),
    x = marquee::marquee_glue("{.red {x_lab}}")
  )

image

In addition, the examples in the documentation don't work either. Here is a screenshot of some of the examples (I couldn't fit them all in one screenshot).

Screenshot 2024-08-20 at 10 35 47 AM
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

No branches or pull requests

1 participant