Debian Codegraph @

tests/shiny/01-basic-input.Rmd

raw
1 ---
2 title: "Make sure input works"
3 output: html_document
4 runtime: shiny
5 ---
6
7 ```{r}
8 textInput("days", "Days", 100)
9 ```
10
11 In rmarkdown 1.7, the chunk below renders an error `object 'input' not found` instead of the expected `100`:
12
13 ```{r}
14 renderPrint(input$days)
15 ```
16
17 It was fixed via https://github.com/rstudio/rmarkdown/commit/67eaa7aa6.