Skip to content

Commit

Permalink
Update basic-ui.Rmd (#522)
Browse files Browse the repository at this point in the history
I think that these are typos.
  • Loading branch information
arilamstein authored Oct 17, 2024
1 parent d385973 commit f7f9bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions basic-ui.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ demo <- demoApp$new("basic-ui/output-text", ui, server)
demo$takeScreenshot()
```

Note that the `{}` are only required in render functions if need to run multiple lines of code.
Note that the `{}` are only required in render functions if you need to run multiple lines of code.
As you'll learn shortly, you should do as little computation in your render functions as possible, which means you can often omit them.
Here's what the server function above would look like if written more compactly::
Here's what the server function above would look like if written more compactly:

```{r}
server <- function(input, output, session) {
Expand Down

0 comments on commit f7f9bc7

Please sign in to comment.