Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulties deploying Quarto shiny apps #564

Open
silasprincipe opened this issue Feb 7, 2024 · 0 comments
Open

Difficulties deploying Quarto shiny apps #564

silasprincipe opened this issue Feb 7, 2024 · 0 comments

Comments

@silasprincipe
Copy link

I'm trying to deploy a Shiny app written using Quarto in my Shiny server, but I'm facing some difficulties.

My app was designed using the Quarto qmd file for the UI part and all the server code is on the server.R file. I pre-render the app (which works fine on my own computer) and then upload the index.html, index.qmd and server.R files to the server (#531). However, when I try to access it, it does not work, returning the following message:

No UI defined
Shiny couldn't find any UI for this application. We looked in:

www/index.html
ui.R
app.R

Using the "Old Faithful" example, I did three tests:

  1. Traditional app.R file - this one works fine: https://shiny.obis.org/normalapp/
  2. Quarto app written as a single .qmd, with both the UI and the server code on the same file - this one also works fine: https://shiny.obis.org/quartosingleapp/
  3. Quarto app written with server.R file - this one does not work and returns the error: https://shiny.obis.org/quartoapp/

For both 2 and 3, the app is pre-rendered and the files are uploaded.

Although I could include the server part on the .qmd document (as in 2), the app is quite complex and I would prefer to let it separate. Do you have any idea of what may be causing this problem?

I appreciate in advance any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant