Skip to content

Commit

Permalink
add rsconnect to imports
Browse files Browse the repository at this point in the history
  • Loading branch information
GuidoMaggio committed Aug 23, 2023
1 parent 4475125 commit 6d41e38
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 252 deletions.
4 changes: 3 additions & 1 deletion .Rprofile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
renv::settings$ignored.packages(c("devtools", "Covid19Mirai"), persist = FALSE)
options("rgdal_show_exportToProj4_warnings"="none")
options("sp_evolution_status"=2)
source("renv/activate.R")

renv::settings$ignored.packages(c("devtools", "Covid19Mirai"), persist = FALSE)
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ Imports:
scales,
COVID19,
grDevices,
pkgload,
rsconnect,
rlang,
zoo
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.1
RoxygenNote: 7.2.3
Suggests:
testthat,
pkgload,
rsconnect,
sf
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,16 @@ importFrom(leaflet,leafletOutput)
importFrom(lubridate,day)
importFrom(lubridate,hour)
importFrom(lubridate,with_tz)
importFrom(pkgload,load_all)
importFrom(plotly,ggplotly)
importFrom(plotly,layout)
importFrom(plotly,plotlyOutput)
importFrom(plotly,plotly_build)
importFrom(plotly,renderPlotly)
importFrom(plotly,style)
importFrom(rlang,sym)
importFrom(rsconnect,deployApp)
importFrom(rsconnect,setAccountInfo)
importFrom(scales,label_number)
importFrom(shiny,NS)
importFrom(shiny,selectInput)
Expand Down
11 changes: 9 additions & 2 deletions R/run_app.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#' utilities package
#'
#' @importFrom pkgload load_all
#' @importFrom rsconnect deployApp setAccountInfo
#' @noRd


#' Run the Shiny Application
#'
#' @param ... A series of options to be used inside the app.
Expand All @@ -10,9 +17,9 @@ run_app <- function(
) {
with_golem_options(
app = shinyApp(
ui = app_ui,
ui = app_ui,
server = app_server
),
),
golem_opts = list(...)
)
}
4 changes: 2 additions & 2 deletions man/run_app.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6d41e38

Please sign in to comment.