Hello,
I am trying to deploy a Shiny app but am running into a few errors. The first is that I get a warning about an absolute path in my file:
>> Question 1: do I need to use the ~ notation in the directories in order for the app to deploy properly on the server? I am loading in an .Rdata file from the data folder within the project directory, which is why I define a working directory.
The second issue is a parsing manifest error. Originally, I had a number of other project-related (but not Shiny-related) files in the folder, but realized it was causing the app deployment to load unnecessary documents. I therefore moved all non-Shiny files out of the project directory, including ke_profile.xlsx. However, this file is being referenced in the error message below with "checksum mismatch."
>> Question 2: why is the Shiny app deployment referencing documents outside of the project directory?
Thank you in advance for your help!
Jane
> shinyapps::deployApp('/VOLUMES/AUSTEN/OAF/KE-expansion')
The following potential problems were identified in the project files:
--------
server.r
--------
The following lines contain absolute paths:
14: wd <- "/VOLUMES/AUSTEN/OAF/KE-expansion"
Paths should be to files within the project directory.
Do you want to proceed with deployment? [Y/n]: Y
Preparing to deploy application...DONE
Uploading application bundle...DONE
Deploying application: 30814...
Waiting for task: 4777268
building: Parsing manifest
################################## Begin Log ##################################
################################### End Log ###################################
Error: Unhandled Exception: Child Task 4777269 failed: Error parsing manifest: Manifest file data/~$ke_profile.xlsx checksum mismatch
>