I want to create shiny app with golem, but @import does not work and packages are not available when I want to run app.
I use following code in 02_dev.R:
...
usethis::use_package( "shinydashboard" )
...
and following one in app_ui.R:
#' @import dashboardthemes
#' @import shinydashboard
#' @import assertr
#' @import DT
#' @export
#'
but when I use load_all()
and then run_app()
I get following error:
could not find function "dashboardPage"
What I do incorrectly and how to handle it?