cbailiss / pivottabler

Create Pivot Tables natively in R

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data groups internal group list not updated when groups removed

cbailiss opened this issue · comments

Data groups have the following internal properties:

p_sortAnchor = NULL,
p_sortGroupsBefore = NULL,
p_sortGroupsAfter = NULL,

These are not updated when groups are removed from the pivot table. This is a potential source of errors.

Discovered this wasn't needed in the end - the sort groups are only used transiently during one call to sort the pivot table (i.e. they are rebuilt every time, so no need to maintain state).