gg_dep

Give a deprecation error, warning, or message, depending on version number.

Version numbers have the format <major>.<minor>.<subminor>, like 0.9.2.
This function compares the current version number of ggplot2 against the
specified version, which is the most recent version before the
function (or other object) was deprecated.