Recent Releases of RCLabels
RCLabels - v0.1.11
RCLabels 0.1.11 (2025-01-13)
match_by_pattern()gains new arguments such asinf_notationandchoose_most_specificwhich are passed tosplit_noun_pp(). Crucially, these new arguments prevent passing via...togrepl()causing an error in an upcoming release ofmatsbyname.- Added clearer documentation to
get_prepositions(). - Added new tests that illustrate correct results,
even if they are unexpected behaviors.
In short, usually need to use
bracket_notation(instead offrom_notationor similar) when callingget_prepositions().
- R
Published by MatthewHeun over 1 year ago
RCLabels - v0.1.10
RCLabels 0.1.10 (2024-01-26)
- Tests now run in parallel.
- Now a better test for inferring notation when the
notationargument is not a list. - Better documentation of the behavior of
infer_notation(). - New tests for existing features.
- Now up to 374 tests, all passing.
- Test coverage remains at 100%.
- R
Published by MatthewHeun over 2 years ago
RCLabels - v0.1.3
RCLabels 0.1.3 (2023-01-16)
- Updated the version of github actions to latest from the
usethispackage in an attempt to fix issues with the actions failing on github. - No new capabilities.
- Still at 368 tests, all passing.
- Test coverage remains at 100%.
- R
Published by MatthewHeun over 3 years ago
RCLabels - v0.1.2
RCLabels 0.1.2 (2022-10-28)
- A failing test led to new capability:
modify_label_pieces()now allowspiece = "pref"andpiece = "suff". - Accepted a merge request from Hadley Wickham.
- Submitting
character()(an empty character vector) topaste_pref_suff()now causes an error. Use""instead. - Fixed a bug where named values in
prefandsuffcausedpaste_pref_suff()to fail. - When notation elements are present in multiple locations in a row or column label, an error is no longer thrown. The first location is now reported.
- When notation cannot be inferred,
get_piece()and similar functions now return the full label in the prefix. (Previously this had been an error.) This new behavior is similar to returning the entire label in the prefix when notation is supplied (not inferred) and the notation is not applicable for the label. - Added
dash_notation. paste_pref_suff()now recycles arguments of length 1.- All functions that paste row and column label pieces together
are now vectorized over
notationarguments. - All functions that get pieces of row and column labels
now
infer_notation()by default, because new argumentinf_notationis set toTRUE. - Rename
paste_pieces()-->paste_noun_pp(). - Rename
split_labels()-->split_noun_pp(). - Rename
RCLabels::prepositions-->RCLabels::prepositions_listto bring consistency withRCLables::notations_list. - New function
infer_notation()obtains the notation for any label or a vector of labels. - Now includes a list of known notations:
RCLabels::notations_list. - Added
RCLabels::in_notation. - Fixed
to_notationexample in the documentation. (The example forto_notationwasfrom_notation.) - Improved accuracy of documentation for
get_pps(). - New tests for new capabilities.
- Now up to 368 tests, all passing.
- Test coverage remains at 100%.
- R
Published by MatthewHeun over 3 years ago
RCLabels - v0.1.1
RCLabels 0.1.1 (2022-03-05)
- Added backward compatibility with previous versions of R via reverting to the magrittr pipe (%>%) from the system pipe (|>).
- Added new notation type
first_dot_notation. - New tests for new capabilities.
- Now up to 225 tests, all passing.
- Test coverage remains at 100%.
- R
Published by MatthewHeun over 4 years ago
RCLabels - v0.1.0
RCLabels 0.1.0 (2022-01-03)
- First version to be used by other packages, so bumping to v0.1.0.
get_piece(labels = NULL)now returnsNULL, as expected.- All return values from
get_piece()are now named appropriately. - Added new options for the
pieceargument ofget_piece(): "pps", "prepositions", and "objects". RCLabels::prepositionsis now a vector instead of a list, thereby making downstream use of the object clearer.- Breaking changes
keep_pref_suff()-->get_pref_suff()to bring consistency withget_piece().keep-->whichfor argument name inget_pref_suff()to bring consistency with other functions.
- New wrapper function
get_piece()returns requested piece of a label. - Added note to README.Rmd about installing from CRAN.
- Added project status badge.
- Added CRAN status badge.
- New tests for new functions.
- Now up to 216 tests, all passing.
- Test coverage remains at 100%.
- R
Published by MatthewHeun over 4 years ago
RCLabels - v0.0.2
RCLabels 0.0.2
- First release.
- Added GitHub pages site.
- Added a vignette.
- Added extraction functions.
- Added a
NEWS.mdfile to track changes to the package. - Refactoring many functions out of IEATools.
- Many tests for all features.
- 156 tests, all passing.
- Test coverage is at 100 %.
- R
Published by MatthewHeun over 4 years ago