Thank you.
Now I have another problem. It seems that if I use Publish it works fine.
But when trying to deploy I get an error:
Error in lint(appDir, appFiles, appPrimaryDoc) :
Cancelling deployment: invalid project layout.
The project should have one of the following layouts:
- 'shiny.R' and 'ui.R' in the application base directory,
- 'shiny.R' and 'www/index.html' in the application base directory,
- 'app.R' or a single-file Shiny .R file,
- An R Markdown (.Rmd) document,
- A static HTML (.html) or PDF (.pdf) document.
- 'plumber.R' API description .R file
- 'entrypoint.R' plumber startup script
- A tensorflow saved model
When I create the project I did a new shiny app --> single File