Debian Codegraph @

tests/testthat/shiny_runtime/runtime.Rmd

raw
1 ---
2 runtime: shiny
3 output:
4 html_document:
5 theme: darkly
6 ---
7
8 ```{r setup, include=FALSE}
9 library(thematic)
10 thematic_shiny()
11 knitr::opts_chunk$set(echo = FALSE)
12 ```
13
14 <style>
15 body{color: red}
16 </style>
17
18 ## ggplot
19
20 ```{r}
21 renderPlot({
22 ggplot2::qplot(1:10)
23 })
24 ```