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

Rmd file "all_plots_shiny" doesn't render multiple HTML widgets of class "wordcloud2". #1

Open
lucidviews opened this issue Dec 7, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@lucidviews
Copy link
Collaborator

Every question-specific plotting function stores its plots as HTML widgets in a list. This list then contains 1 or many of these plot objects. In order to render each plot object in the list in the generated report, I'm using htmltools::tagList(plots) .
For HTML widgets generated by Plotly this works perfectly fine but not for the ones that were generated by Wordcloud2.

What I've found out already is that the wordcloud objects themselves are created correctly and stored successfully in the list and if one tries to render them in RStudio they are displayed as expected. However, the wordclouds are not rendered when put in an rmd file.

I already unusuccessfully tried to solve this problem doing this htmltools::tagList(lapply(plots, print)).

@lucidviews lucidviews added the bug Something isn't working label Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant