Hello,
I have completed my UI.R and Server.R code in RStudio. My code successfully runs and I am not trying to deploy my app on Shiny Apps (
https://www.shinyapps.io). I have completed the below...
1. I have installed rsconnect package - install.packages('rsconnect')
2. I have authorized account with my token
3. I have saved my UI.R, Server.R, and Data Set for my app in the same folder labeled "TannersAPP"
4. I have set my working directory to that path on my computer - setwd('"C:/Users/Summers/Desktop/TannersAPP")
When I try to deploy the app, I receive the error message below.
Please someone help!! Thank you in advance!
> setwd("C:/Users/Summers/Desktop/TannersAPP")
> getwd()
[1] "C:/Users/Summers/Desktop/TannersAPP"
> rsconnect::setAccountInfo(name='classprojectfirstshinyapptannersummers', token='', secret='')
> getwd()
[1] "C:/Users/Summers/Desktop/TannersAPP"
> library(rsconnect)
Warning message:d
package ‘rsconnect’ was built under R version 3.2.5
> rsconnect::deployApp('C:/Users/Summers/Desktop/TannersAPP')
Error in lint(appDir, appFiles, appPrimaryDoc) :
Cancelling deployment: invalid project layout.
The project should have one of the following layouts:
1. 'shiny.R' and 'ui.R' in the application base directory,
2. 'shiny.R' and 'www/index.html' in the application base directory,
3. 'app.R' or a single-file Shiny .R file,
4. An R Markdown (.Rmd) document,
5. A static HTML (.html) document