Lchiffon / wordcloud2

R interface to wordcloud for data visualization.
397 stars 113 forks source link

wordcloud2 0.2.1 breaks in Shiny #37

Open ohjakobsen opened 6 years ago

ohjakobsen commented 6 years ago

After upgrading to version 0.2.1 I get an error message that variable iii can't be found in my Shiny apps that uses wordcloud2. The word cloud is rendered, but other parts of the app breaks. Downgrading to 0.2.0 solves the issue. The culprit seems to be the function call that was removed from wordcloud2.R 1696d2f. Will a new version be published to CRAN without this bug?

AdeelK93 commented 6 years ago

Do you have an example of a Shiny that is suffering from this bug? If anything, 1696d2f should have resolved the iii bug

reisner commented 6 years ago

@AdeelK93 Do you know why the CRAN version is a higher version than this repo? And the CRAN version still has the iii bug. Hopefully something didn't go wrong with a merge in the past to put this repo in an inconsistent state.

pogacsa commented 5 years ago

Having the same issue (multiple plots on one Shiny page, only one shows), has anything been done?

stragu commented 4 years ago

Note that removing the JavaScript code in the wordcloud2() definition fixed the problem for some, as described here: https://github.com/rstudio/shinydashboard/issues/281#issuecomment-615888981

What is it that code for?