简体   繁体   中英

Error in deploying a shiny app

I'm trying to deploy shiny app into a shiny server but getting this error:

Error: HTTP 400
POST https://api.shinyapps.io/v1/applications/
Validation Error

After writing in the console:

    shinyapps::deployApp("C:\\Users\\Shiny App")

All the installation went ok, I got Rtools available as well, I'm set to be in the working directory... where is the problem?

Make sure there are no spaces in the last snippet of that "link to your app" path name, it somehow causes an error.

For example:

This snippet of code caused me a problem.

shinyapps::deployApp('C:/Users/InfiniteFlash/Desktop/App Name')

but this one doesn't

shinyapps::deployApp('C:/Users/InfiniteFlash/Desktop/App_Name')

Avoiding spaces apparently allows the app to deploy.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM