inst/ex/ex-label-pt.R

# rendered directly (rather than via scales::demo_continuous()) because
# several locales' group/currency signs aren't in the check device's font
label_number_pt()(c(-1e6, 0, 1e6))
label_percent_pt(accuracy = .01)(c(-1, 0, 1))
label_currency_pt(accuracy = .1)(c(-1e6, 0, 1e6))

Try the countryscales package in your browser

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

countryscales documentation built on Sept. 29, 2026, 5:09 p.m.