daattali / shinyalert

🗯️ Easily create pretty popup messages (modals) in Shiny
https://daattali.com/shiny/shinyalert-demo/
Other
241 stars 26 forks source link

text = tagList() throwing error due to usage of && as of R 4.2.0 #78

Closed ferguskeatinge closed 1 year ago

ferguskeatinge commented 1 year ago

Hi Dean,

Seems to be a problem with the inclusion of action buttons within a shiny alert when using text = tagList(), if there is more than one action button shiny is now (due to changes in R 4.2.0) throwing a warning followed by an error

"Warning: Error in &&: 'length = 2' in coercion to 'logical(1)'"

i believe it has something to do with this? first seen here (https://stackoverflow.com/a/72848495)

Untitled_error

not sure if needs addressing

daattali commented 1 year ago

I think this is a duplicate of https://github.com/daattali/shinyalert/issues/75

It's been fixed in the github version

daattali commented 4 months ago

A new version was submitted to CRAN today, it will be on CRAN in a few days