v0.6.13
·
43 commits
to main
since this release
New Features
- All elements of a table's row structure are now guaranteed to be pathable. #1024 by @gmbecker
- Direct siblings anywhere in a table's tree (row) structure are now guaranteed to have unique names, with a message if de-duplication (by adding "[i]" to duplicates) was required. #1024 by @gmbecker
- Added
parent_nameargument tosplit_rows_by*andanalyze*functions to manually control names of (and thus paths to) the subtables created. #1024 by @gmbecker - Added
tt_row_path_exists, which determines whether a path exists within a table's row structure, optionally restricted to resolving to a particular type of node (row, table, elementary table). #1024 by @gmbecker - Added
tt_normalize_row_pathwhich resolves a path including the "*" wild card to all existing paths within a table, optionally restricted to resolving to a particular type. #1024 by @gmbecker - Added documentation of basic pathing concepts (
?pathing) to the man page for the above functions. - Added new
pathingvignette. @gmbecker - When
make_row_dfis called on aVTableTreethe returned df now includes newsect_div_from_pathandself_section_divcolumns. #1024 by @gmbecker - Added
section_div_infoconvenience function which returns portions ofmake_row_df's result relevant to section dividers. #1024 by @gmbecker - Added
section_div_at_pathandsection_div_at_path<-for getting and setting section dividers for substructures within the table. The latter supports "*" wildcards for flexible usage. #1024 by @gmbecker - Documentation regarding section dividers (
?section_div) updated and expanded. #1024 by @gmbecker - Updated
as_result_dfto "de-uniqify" names that were altered for pathability when determining group values in the result dataframe/ard. #1024 by @gmbecker - Warning given when
section_div<-withonly_sep_sections = TRUEmore values than levels of nesting present is now more informative, and occurs regardless of whetheronly_sep_sectionswas set manually or automatically (length(value) < nrow(tt)). #1024 by @gmbecker
Bug Fixes
section_div<-now works correctly on tables that include top level siblings in their row structure (e.g., when unnested structure is added vianested = FALSEor adding a row splitting after ananalyzecall). #1024 by @gmbeckersection_div<-withonly_sep_sections = FALSEis now consistent regarding which value is set whenanalyzecalls occur at different levels of nesting within the corresponding layout, particularly as top-level non-nested siblings. #1024 by @gmbeckersection_div<-no longer sets a section div on non-visible label rows when setting a section divider for a content row on the same group. #1024 by @gmbeckersection_div<-when given a full-length (nrow(tt)) vector now sets 'section dividers' on label rows and content rows correctly when both are visible for the same facet. #1024 by @gmbecker- Correctly exported
[methods with signatures involvingcharacterandmissing. @gmbecker - Updated path resolution logic for
[methods to gracefully handle new sibling name de-duplication scheme. @gmbecker
Miscellaneous
subset_colsgeneric and methods are now exported.has_force_paggeneric and methods are now exported.
What's Changed
- enforce name uniqueness and pathability. unify section_div approach by @gmbecker in #1024
- export subset_cols and has_force_pag by @gmbecker in #1026
- pathing vignette. small buglet fixes by @gmbecker in #1031
- Update DESCRIPTION by @shajoezhu in #1030
- [skip vbump] v0.6.13 by @Melkiades in #1032
Full Changelog: v0.6.12...v0.6.13