yihui / knitr

A general-purpose tool for dynamic report generation in R
https://yihui.org/knitr/
2.37k stars 874 forks source link

dev Cairo (capital C) options no longer working because package cairoDevice is archived #2204

Closed jessekps closed 1 year ago

jessekps commented 1 year ago

A minor issue:

opts$chunk_est(dev="Cairo_pdf")

is no longer working because package cairoDevice is no longer available on CRAN. All the options with lower case C are still working, so you might consider omitting these.

caused by these lines in plot.R

    Cairo_pdf = load_device('Cairo_pdf', 'cairoDevice'),
    Cairo_png = load_device('Cairo_png', 'cairoDevice'),
    Cairo_ps = load_device('Cairo_ps', 'cairoDevice'),
    Cairo_svg = load_device('Cairo_svg', 'cairoDevice'),

This still works fine since it uses just the cairo package: opts$chunk_set(dev="cairo_pdf")


By filing an issue to this repo, I promise that

I understand that my issue may be closed if I don't fulfill my promises.

yihui commented 1 year ago

Good suggestion! Thanks!

github-actions[bot] commented 1 year ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.