error in deploy shinyio

379 views
Skip to first unread message

david shanabrook

unread,
Oct 31, 2014, 11:36:34 AM10/31/14
to shiny-...@googlegroups.com
works fine locally, having trouble deploying on shinyio

> deployApp(appName="oi")
Error in lint(appDir) : 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. An R Markdown (.Rmd) document.

david shanabrook

unread,
Oct 31, 2014, 11:37:13 AM10/31/14
to shiny-...@googlegroups.com
Oh, and I am not using an rStudio project, doing this from base R

Andy Kipp

unread,
Oct 31, 2014, 2:43:03 PM10/31/14
to david shanabrook, shiny-discuss
David,

You should either use setwd() to change to the directory where your app files are, or call deployApp using the appDir parameter.

deployApp(appDir="path/to/my/app")

Also, "oi" is an invalid app name, they must be at least 3 characters.

-Andy

--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/838333a3-6243-454e-b6d8-8eb3b291070f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages