Checking code styling

December 30, 2022

I want to check what code blocks look like natively in this blog theme.

library(ggplot2, quietly=TRUE) 
  # try to shut the messages up

df = data.frame(y = rnorm(100))

ggplot(df, aes(x=y)) + 
  geom_density(adjust=0.5) +
  ggtitle("A plot")