rstudio / pins-r

Pin, discover, and share resources
https://pins.rstudio.com
Other
312 stars 63 forks source link

pin_reactive_read not checking existence of the pin #584

Closed SaJaToGu closed 2 years ago

SaJaToGu commented 2 years ago

pin_reactive_read throws Warning: Error in : Can't find pin called 'pinname' Use pin_list() to see all available pins in this board

In shiny apps it might be possible that the pin is not existing directly but will be craeted within the app. How to handle this? Is it possible that the function is calling shiny::req(pin_exists(board, name)) itself?

hadley commented 2 years ago

I'd recommend calling pin_exists() yourself.

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.