Using GitHub Codespaces for Quarto Development

It turns out, when I am working on say a reveal.js slide deck and I need a lot of instant feedback, quarto preview renders pretty slowly on my machine. To speed up the process, and also allow me to tweak slides and blog articles from any machine, I started using GitHub Codespaces. To set it up correctly, I settled on this devcontainer.json for now: devcontainer.json { "name": "R + Quarto Codespace", "image": "ghcr....

January 17, 2024 · Lennart Klein

In Search for the Perfect Palette

Three types of palettes: discriminate qualitative smooth Okabe mpg %>% ggplot(aes(x = displ, y = hwy)) + geom_point(aes(color = class)) + geom_smooth() mpg %>% ggplot(aes(x = displ, y = hwy)) + geom_point(aes(color = class)) + geom_smooth() + paletteer::scale_color_paletteer_d("colorblindr::OkabeIto_black")

August 4, 2023 · Lennart Klein