tests/testthat/resources/geom-hex.R

library(ggplot2)

d <- ggplot(diamonds, aes(carat, price))
d + geom_hex()

Try the renv package in your browser

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

renv documentation built on Jan. 16, 2026, 5:08 p.m.