Replies: 1 comment
-
I'm hitting this same problem- i'd rather not need to import each function from shiny individually - is there another way to resolve these warnings? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've started a Shiny app using bs4Dash from the Golem template.
Golem is a wonderful template and saves me a lot of blood, sweat, and tears getting the initial app up and running. bs4Dash provides a great front-end toolkit but overwrites many shiny functions.
The following "significant warnings" break my R CMD Check:
GHA logs e.g. here
Has anyone seen warnings like these? What could I check next to find the cause?
Is there a fix apart from namespacing every single shiny function I'm using and dropping the blanket
@import shiny
?Update
I have resolved the warnings by replacing the blanket
@import shiny
statements with@importFrom shiny ...
.The blanket imports make sense for a "vanilla" Golem app using pure
shiny
functions, and the collisions are more a problem on thebs4Dash
side.I hope leaving this solution here might help others.
Details
@import shiny
and@import bs4Dash
statements across the entire appBeta Was this translation helpful? Give feedback.
All reactions