Closed lmsimp closed 3 years ago
Okay, so I see this is because R is trying to use the dashboardPage
and dashboardHeader
functions from the shinydashboard
package and not shinydashboardPlus
.
If I define the following -
dashboardHeader <- shinydashboardPlus::dashboardHeader
dashboardPage <- shinydashboardPlus::dashboardPage
then run the example, it works.
What is the best way to avoid this scenario in general when you have the same function names in different packages?
Again, answering the above. I see I need to explicitly load shinydashboard
and then shinydashboardPlus
to ensure the order of loading is correct and functions are not masked.
Specifically,
library(shinydashboard)
library(shinydashboardPlus)
shinydashboardPlusGallery()
I am currently trying to run the demo/examples as per your rinterface website and I encounter the following error with dashboardPage.