-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add total.label argument for groupingsets, cube, rollup (#5973)
* Add 'label' argument Add 'label' argument to the groupingsets.data.table(), cube.data.table(), and rollup.data.table() functions. * Add tests for groupingsets/cube/rollup 'label' argument * Add information for 'label' argument Add to the Usage, Arguments, Details, and Examples sections. * Add item for groupingsets/cube/rollup 'label' argument * Make changes following linter warnings * avoid stop(paste0), use brackify() * update test for brackify() * lowercase 'r' in code gate hint * style on long if condition * Use .shallow() over a full copy * save names(label) for reuse; more .shallow() usage * simplify with mapply * Build info with gettextf() for i18n * short names * More restricted scoping, building message with gettextf * consistency: name 'info' --------- Co-authored-by: Michael Chirico <[email protected]> Co-authored-by: Michael Chirico <[email protected]>
- Loading branch information
1 parent
a673460
commit 1494900
Showing
4 changed files
with
1,416 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.