Skip to content

Instantly share code, notes, and snippets.

View dancingfrog's full-sized avatar
🎸

John Hall dancingfrog

🎸
View GitHub Profile
@dancingfrog
dancingfrog / plumber-w-shiny.R
Created December 5, 2022 05:10
Plumber with proxy to Shiny (toy) app running in background cluster
library("future")
library("httr")
library("magrittr")
library("plumber")
library("shiny")
library("uuid")
library("websocket")
library("R6")
shiny_port <- 5174
@dancingfrog
dancingfrog / .deploy-shiny-app.R
Created December 20, 2022 14:39
.deploy-shiny-app.R
if (!require(rsconnect)) {
install.packages("rsconnect")
library("rsconnect")
}
options(rsconnect.max.bundle.size = 9145728000)
# Print a list of app dependencies. Libraries need to be loaded
# before publishing so deployApp() knows what is necessary.
error_on_missing_name <- function(name){