hadley / r4ds

R for data science: a book
http://r4ds.hadley.nz
Other
4.54k stars 4.21k forks source link

Re-enable `crayon.enabled = TRUE` #1027

Open mine-cetinkaya-rundel opened 2 years ago

mine-cetinkaya-rundel commented 2 years ago

With the conversion to Quarto I've commented out crayon.enabled = TRUE in _common.R. We need to make sure to re-enable this once the issue is resolved.

mine-cetinkaya-rundel commented 11 months ago

Do we still need this?

hadley commented 11 months ago

Yeah, we should eventually figure out how to fix this, so (e.g.) https://r4ds.hadley.nz/data-transform#prerequisites gets the nice colouring.

olivroy commented 11 months ago

I think this is dependant on Quarto. It would be great if it worked by default.

https://github.com/quarto-dev/quarto-cli/discussions/6106 (discussion I opened)

Related issue: https://github.com/quarto-dev/quarto-cli/issues/3730