editor_options | ||||
---|---|---|---|---|
|
- Fix CRAN checks NOTE.
This is a code breaking update in relation to functions
stat_debug_group()
and stat_debug_panel()
. Both the function signature,
returned values and default arguments have changed. The new and updated
functions are more polished and flexible than they were in earlier versions of
the package but can still be made to produce similar, but not identical, output
to functions of the same names from earlier versions.
-
Function
geom_debug()
maintained for backwards compatibility. -
Functions
geom_debug_panel()
andgeom_debug_group()
print summaries of bothdata
andparams
objects. -
In functions
geom_debug_panel()
,geom_debug_group()
,stat_debug_panel()
andstat_debug_group()
the function used to print the summaries is an argument to a new formal parameterdbgfun.print
. -
Update
stat_debug_group()
andstat_debug_panel()
so that the function used to compute the value returned asdata
is an argument to a new formal parameterfun.data
. -
Rename formal parameter
summary.fun
intodbgfun.data
ingeom_debug_panel()
,geom_debug_group()
,stat_debug_group()
andstat_debug_panel()
. -
Update the
optional_aes
ingeom_debug_panel()
,geom_debug_group()
andgeom_null()
to track changes inggplot2
andggpp
.
- Fix bug in
drop_vars()
(report and fix by struckma in issue #1).
-
Update
geom_debug()
to avoid several spurious warnings triggered by unrecognized parameters and aesthetics. Aesthetics silently accepted include all those used by geoms from packages 'ggplot2', 'ggpp', and 'ggrepel'. -
Improve the printed output from
geom_debug()
,stat_debug_group()
andstat_debug_panel()
. -
Change the default geom of
stat_debug_group()
andstat_debug_panel()
from"debug"
to"null"
. -
Tested working with 'ggplot2' 3.3.6 and upcoming 'ggplot2' 3.4.0 (v3.4.0-rc).
-
Minor update to User Guide 2 and four code examples in functions' documentation to address non-compliance with CRAN requirements.
-
Minor update to User Guide 2 figures to enhance clarity.
-
Add
geom_debug_npc()
as a synonym forgeom_debug()
to allow debugging of geoms supporting npc coordinates as defined in package 'ggpp'. -
Revise
stat_debug_group()
andstat_debug_panel()
simplifying the output to the console. In particular avoid setting default aesthetics, change default forgeom
to"debug"
and usedhead()
as default for summaries . -
Revise
geom_debug()
settinghead()
as default forsummary.fun
. -
Revise part 1 of the User Guide.
Some of these changes to default arguments and function parameters are code-breaking but of little consequence as these debugging functions are meant to be used interactively.
- Track updates to 'ggplot2', adding support and examples for
geom_sf()
plot layers. - Revise documentation.
- Move git repository from Bitbucket to Github.
- Set up Github action for CRAN-checks on Windows, OS X and Ubuntu.
- Revise User Guide.
- Revise documentation adding examples and correcting minor errors.
- Rewrite README in R markdown adding examples.
- Implement str() method for class "ggplot" as a wrapper with tweaked default arguments.
- Add functions mapped_vars() and data_vars() to list variables in the default data member of objects of class "gg".
- Add function data_attributes() to list the attributes of the default data member of objects of class "gg".
Methods and functions originally part of 'ggpmisc' but removed in the update to 'ggpmisc' 0.3.0 are included in this new package.
- Add new function drop_vars() to automatically drop from the data object embedded in "gg" "ggplot" objects the variables neither mapped to aesthetics nor used for faceting.
Last release before split. Please, see documentation for 'ggpmisc' for earlier history.