Since installing the latest version of ggplot2 (0.9.1), I get messages from my old code, including:
> warnings() Warning messages: 1: 'opts' is deprecated. Use 'theme' instead. See help("Deprecated") 2: 'theme_text' is deprecated. Use 'element_text' instead. See help("Deprecated") 8: In opts(title = trait axis.text.x = theme_text(size = fontsize$axis), ... : Setting the plot title with opts(title="...") is deprecated. Use labs(title="...") or ggtitle("...") instead. 9: 'opts' is deprecated.
I have a few questions:
- help ("Amortized") returns
"no documentation for 'Depreciated' in specified packages and libraries" ; this is mistake? - Is there some time when Amortized switches to Deprecated and my code starts to generate errors?
- How can I update my code (to solve these specific problems and prevent other pending expectations)?
- Can I download two versions of ggplot2 and indicate which version of each function I use?
- At what timeline does the updated syntax become obsolete?
I agree that this is a common software problem, but perhaps some SO contributors have a concrete understanding of the long-term plans and rationale for the author of the package.
source share