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

Show error messages #43

Open
royfrancis opened this issue Mar 19, 2024 · 2 comments
Open

Show error messages #43

royfrancis opened this issue Mar 19, 2024 · 2 comments

Comments

@royfrancis
Copy link

It seems like error messages are not displayed. Is there a way to display errors, warnings etc since I want to use this on a course.

@wch
Copy link
Collaborator

wch commented Mar 20, 2024

Can you tell us which display mode are you using for the apps? Is it editor and viewer?

@royfrancis
Copy link
Author

royfrancis commented Mar 20, 2024

There doesn't seem to be a difference whether it's viewer or editor.

Here is how the app normally looks like in R shiny:

Screenshot 2024-03-20 at 16 41 47

Here is how the app looks like in shinylive (showing both with and without editor):

Screenshot 2024-03-20 at 16 51 21

Here is my test app:

---
title: "Shinylive"
format:
  html:
    format: html
filters:
  - shinylive
---

```{shinylive-r}
#| standalone: true
#| components: [editor, viewer]
shinyApp(
ui=fluidPage(
  selectInput("data_input",label="Select data",
              choices=c("","mtcars","faithful","iris")),
  tableOutput("table_output")
),

server=function(input, output) {
  getdata <- reactive({ get(input$data_input,'package:datasets') })
  output$table_output <- renderTable({head(getdata())})
})
```
quarto 1.4.549
quarto-shinylive 0.1.0

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

2 participants