Issue 2: unexpected INCOMPLETE_STRING
1. Use Global Options -> Disconnect -> Apply -> Okay
2. login using GitHub to obtain "pjossen"
3. Use Global Options -> Connect -> Copy Token -> Paste
The downloaded source packages are in ‘/private/var/folders/1h/5nhp6jsd6jb3c7fz1n3rg3ph0000gp/T/Rtmppu3fCx/downloaded_packages’
Error in parse(text = accountCmd) :
<text>:1:92: unexpected INCOMPLETE_STRING
1: rsconnect::setAccountInfo(name='pjossen', token='22DB10541D0C9C6FCC50463E5B63591A', secret='ImAxWhorzkUJOcpvH3IeN36BYX4PPxy1dhHwgi16’)
2:
I overcame this issue by Input Manually:
rsconnect::setAccountInfo(name='pjossen', token='22DB10541D0C9C6FCC50463E5B63591A', secret='ImAxWhorzkUJOcpvH3IeN36BYX4PPxy1dhHwgi16')
4. rsconnect::deployApp()
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) or PDF (.pdf) document.
6. 'plumber.R' API description .R file
7. 'entrypoint.R' plumber startup script
8. A tensorflow saved model
Remedy: an empty app.R file (Clearly, this step was never anticipated, given app.R was not part of the code that I cloned form GitHub.)
Preparing to deploy application...DONE
Uploading bundle for application: 342225...[WARNING] This document format requires a nonempty <title> element.
Please specify either 'title' or 'pagetitle' in the metadata.
Falling back to '_sessioninfo.utf8'
DONE
Deploying bundle: 1371482 for application: 342225 ...
Waiting for task: 525519911
building: Parsing manifest
building: Building image: 1384386
building: Installing system dependencies
building: Fetching packages
building: Installing packages
building: Installing files
building: Pushing image: 1384386
deploying: Starting instances
rollforward: Activating new instances
success: Stopping old instances
Application successfully deployed to https://pjossen.shinyapps.io/rmarkdown-website-examples-master/
Issue 3: app.R did not return a shiny.appobj object
shinyapps.io log
Error in value[[3L]](cond) : app.R did not return a shiny.appobj object.
2018-05-13T15:16:57.658906+00:00 shinyapps[342225]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Issue 4: Error in rsconnect::deploySite() :
5. rsconnect::deploySite()
Error in rsconnect::deploySite() :
index file with site entry not found in /Users/PJO/Desktop/rmarkdown-website-examples-master
Remedies:
6. rsconnect::appDependencies
Uploading bundle for application: 342225...[WARNING] This document format requires a nonempty <title> element.
Please specify either 'title' or 'pagetitle' in the metadata.
Falling back to '_sessioninfo.utf8'
Note "plumber" installed
rsconnect::deploySite()
Error in value[[3L]](cond) : app.R did not return a shiny.appobj object.
2018-05-13T15:16:57.658906+00:00 shinyapps[342225]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Issue 5: [WARNING] This document format requires a nonempty <title> element. (I don't understand the warning or discussion that I discovered on the web.)
7. rsconnect::deployApp(appDir = getwd(), account = "pjossen", server = "shinyapps.io", upload = TRUE, launch.browser = "rsconnect.launch.browser", lint = TRUE, metadata = list())
https://pjossen.shinyapps.io/rmarkdown-website-examples-master/? [Y/n] y
DONE
Uploading bundle for application: 342225...[WARNING] This document format requires a nonempty <title> element.
Please specify either 'title' or 'pagetitle' in the metadata.
Falling back to '_sessioninfo.utf8'
DONE
Deploying bundle: 1371563 for application: 342225 ...
Waiting for task: 525526607
building: Parsing manifest
building: Building image: 1384459
building: Installing system dependencies
building: Fetching packages
building: Installing packages
building: Installing files
building: Pushing image: 1384459
deploying: Starting instances
rollforward: Activating new instances
unstaging: Stopping old instances
Application successfully deployed to https://pjossen.shinyapps.io/rmarkdown-website-examples-master/
shinyapps.io log
2018-05-13T16:17:03.667702+00:00 shinyapps[342225]: knitr version: 1.20
2018-05-13T16:17:03.667617+00:00 shinyapps[342225]: Server version: 1.6.2-2
2018-05-13T16:17:03.667657+00:00 shinyapps[342225]: LANG: en_US.UTF-8
2018-05-13T16:17:03.667713+00:00 shinyapps[342225]: jsonlite version: 1.5
2018-05-13T16:17:03.667714+00:00 shinyapps[342225]: RJSONIO version: 1.3.0
2018-05-13T16:17:03.667670+00:00 shinyapps[342225]: R version: 3.4.4
2018-05-13T16:17:03.896902+00:00 shinyapps[342225]:
2018-05-13T16:17:03.896904+00:00 shinyapps[342225]: Starting R with process ID: '92'
2018-05-13T16:17:03.667715+00:00 shinyapps[342225]: htmltools version: 0.3.6
2018-05-13T16:17:03.667672+00:00 shinyapps[342225]: shiny version: 1.0.5
2018-05-13T16:17:03.667701+00:00 shinyapps[342225]: rmarkdown version: 1.9.9
2018-05-13T16:17:03.807550+00:00 shinyapps[342225]: Using jsonlite for JSON processing
2018-05-13T16:17:03.956220+00:00 shinyapps[342225]: Error in value[[3L]](cond) : app.R did not return a shiny.appobj object.
2018-05-13T16:17:03.956221+00:00 shinyapps[342225]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
2018-05-13T16:17:03.956222+00:00 shinyapps[342225]: Execution halted