Version 0.5.1 brings additional enhancements to the annotations based on model fits. These enhancements improve traceability by updating statistics to return additional information about the fitted models. Functions in ‘ggplot2’ that had been earlier announced as being at their end-of-life have now been deprecated. Some instances aes_()
had remained lingering in the code and had to be replaced by aes()
.
Changes compared to version 0.5.0, the previous version inCRAN are:
- Compatibility fix: Update for compatibility with upcoming ‘ggplot2’ 3.4.0 (tested with v3.4.0-rc).
-
Revise approach used to extract the formula from the fitted model object. Use
formula()
method on fitted model but fall-back onto the ‘formula’ argument in case of error or returnNA
if everything fails, without triggering an error condition. -
Always include variables
fm.tb.type
,fm.class
,fm.method
,fm.formula
, andfm.formula.chr
in the data returned bystat_fit_tb()
, and renamemf_tb
intofm.tb
for naming consistency. -
Always include variable
fm.formula
in the data returned by all other textual-annotation statistics based on model fitting. -
Include variables
fm.class
,fm.method
, andfm.formula.chr
in addition tofm.formula
in the data returned by line plotting statistics based on model fitting when passed argumentfm.values = TRUE
. -
Add
scale_colour_logFC()
,scale_color_logFC()
andscale_fill_logFC()
. -
Revise
scale_colour_outcome()
andscale_fill_outcome()
adding flexibility to thevalue
names and allowing a work-around for non-functionaldrop
in manual scales due to a bug present in ‘ggplot2’ (only in versions 3.3.4, 3.3.5, 3.3.6). - Revise User Guide.
Documentation web site at http://docs.r4photobiology.info/ggpmisc/ includes all help pages, with output from all examples, vignettes as well as a changelog in HTML format.
NOTE: Version 0.5.1 is on its way to CRAN.
Please raise issues concerning bugs or enhancements to this package through GitHub https://github.com/aphalo/ggpmisc/issues