Skip to content

Commit

Permalink
Updated Renv and rsconnect deployment (#270)
Browse files Browse the repository at this point in the history
* Updated input country names, to avoid problems with testing
* productive deployment restored
  • Loading branch information
GuidoMaggio committed May 7, 2024
1 parent 8f0c88f commit e6e0ffd
Show file tree
Hide file tree
Showing 4 changed files with 254 additions and 247 deletions.
1 change: 1 addition & 0 deletions .rscignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
renv.lock
10 changes: 8 additions & 2 deletions deploy/deploy-shinyapps.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ rsconnect::setAccountInfo(
Sys.getenv("SHINYAPPS_SECRET")
)

# to be added since rsconnect >1
options(rsconnect.packrat = FALSE)
# Add here any additional files/directories the app needs
app_files = c(
"app.R",
"DESCRIPTION",
"NAMESPACE",
"R/",
"inst/"
)

rsconnect::deployApp(
account = "miraisolutions",
Expand Down
Loading

0 comments on commit e6e0ffd

Please sign in to comment.