Hello, I'm attempting to deploy an interactive rmarkdown document with the shiny runtime that reads in a config file which should be deployed with it. However, when I output list.files()
and getwd()
from within the document, a tmp directory is given and no config files are listed. An "invalid description" error is given when I try to read in the config file.
Here is my deployment code:
rsconnect::deployApp(appDir = ".", appFiles = c("Example Portal.Rmd", "config_portal1.yaml" ), appPrimaryDoc = "Example Portal.Rmd", appName = "example_portal_1", appTitle = "Example Portal 1 of 23", forceUpdate = TRUE)
The reason for this design is so that we can deploy (and update) many variants of the same document from an R script.
Thanks!