insightsengineering / insightsengineering/chevron
Console output when running graph type of the output
- Dominant language
- R
- Stars
- 19
- Forks
- 1
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Example (copied from the catalog):
```
ggtheme <- ggplot2::theme(
panel.grid = ggplot2::element_line(colour = "black", linetype = 3),
panel.background = ggplot2::element_rect(fill = "white"),
legend.position = "top",
axis.text.x = ggplot2::element_text(angle = 22, hjust = 1, vjust = 1)
)
run(mng01, syn_data, dataset = "adlb", ggtheme = ggtheme)
```
Console output:
```
r$> ggtheme <- ggplot2::theme(
panel.grid = ggplot2::element_line(colour = "black", linetype =
3),
panel.background = ggplot2::element_rect(fill = "white"),
legend.position = "top",
axis.text.x = ggplot2::element_text(angle = 22, hjust = 1, vjust
= 1)
)
run(mng01, syn_data, dataset = "adlb", ggtheme = ggtheme)
$`Alanine Aminotransferase Measurement`
$`C-Reactive Protein Measurement`
$`Immunoglobulin A Measurement`
attr(,"class")
[1] "gg_list" "list"
```
This is also observed [in the catalog](https://insightsengineering.github.io/chevron/main/articles/chevron_catalog.html#mean-plot-mng01:~:text=%23%3E%20attr(%2C%22class%22)-,%23%3E%20%5B1%5D%20%22gg_list%22%20%22list%22,-On%20this%20page) (this could be silenced though)
I think we should avoid putting those debug statements in the console. Plot names are anyway putted inside the plot as a titles.
Contributor guide
Assessment
This issue has not been assessed yet.