Draws a card as a picture on the current graphics device, such as the Plots pane,
as large as the device allows: a grob of class rghcard_card, whose picture
makeContent.rghcard_card() makes to the size of the device. A PNG card is read through the
png package.
Arguments
- source
The card, as
card_source()returns it.
Examples
rghcard:::card_plot(rghcard:::card_source(stats_card(example_stats(), file = NULL)))