Trying to deploy a shiny app that works locally, but not on the shinyapps.io . I think the problem has to do with the size of my folder.
listBundleFiles("/home/mav508/app-DRG_Tracks/")
$totalSize
[1] 5190438593
$totalFiles
[1] 6
$contents
[1] ".RData" "app.R" "data/0.3_Seurat.Rds"
[4] "data/0.5_Seurat.Rds" "data/fragments.tsv.gz" "data/fragments.tsv.gz.tbi"
Initially it failed because of too small options(rsconnect.max.bundle.size=...):
options(rsconnect.max.bundle.size=5145728000)
debug(deployApp())
Error in bundleFiles(appDir) :
The directory /home/mav508/app-DRG_Tracks cannot be deployed because it is too large (the maximum size is 5145728000 bytes). Remove some files or adjust the rsconnect.max.bundle.size option.
But then I adjusted it so that it is bigger than my folder size.
Now it just hangs for a long time on "Uploading bundle for application: 4605533..." and eventually returns me the error:
P.S. I have a paid shinyapps.io account which is basic plan (8GB max allows). Reducing the size of the files uploaded is not an option for me.