Dear all,
Apologies in advance as I am a complete newby and may not only ask a stupid question but also in a sub-optimal manner. I have constructed (with the help of Deepseek) a Shiny App that merges some location and population data together to produce a map with hospital location and LSOA populations within lincolnshire. It also prints a banner JPG beneath the map. I have followed the simple instructions on shinyapps.io to register but when I try and connect this app using this command
rsconnect::deployApp(
appDir = "C:/Users/hsscbo/OneDrive - University of Leeds/AHP workforce/AHP",
appName = "AHPWorkforce"
)
I get the following error which I cannot resolve
Deploying "AHPWorkforce" using "server: shinyapps.io / username: bojkeuol"
Error in quartoInspect()
:
! Failed to run quarto inspect
against your content:
ERROR: C:/Users/hsscbo/OneDrive - University of Leeds/AHP workforce/AHP/AHPWorkforce.R is not a valid Quarto input
document
Stack trace:
at inspectConfig (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:101501:19)
at async Command.actionHandler (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:101515:20)
at async Command.execute (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:8017:13)
at async Command.parseCommand (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:7907:20)
at async quarto (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:118224:9)
at async file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:118244:9
at async mainRunner (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:118128:9)
at async file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:118235:5
Error occurred during cleanup: PermissionDenied: Access is denied. (os error 5): remove
'C:\Users\hsscbo\AppData\Local\Temp\quarto-session8f00e09a31e0dad7'
Run rlang::last_trace()
to see where the error occurred.