tests/testthat/_snaps/ggsave.md

unknown device triggers error

`device` must be a string, function or `NULL`, not the number 1.

invalid single-string DPI values throw an error

Unknown `dpi` string
i Use either "screen", "print", or "retina"

invalid non-single-string DPI values throw an error

`dpi` must be a single number or string, not a <factor> object.
`dpi` must be a single number or string, not a character vector.
`dpi` must be a single number or string, not a double vector.
`dpi` must be a single number or string, not a list.


Try the ggplot2 package in your browser

Any scripts or data that you put into this service are public.

ggplot2 documentation built on Oct. 12, 2023, 5:08 p.m.