RCLabels 0.1.2 (2022-10-28)
- A failing test led to new capability:
modify_label_pieces()
now allows
piece = "pref"
and piece = "suff"
.
- Accepted a merge request from Hadley Wickham.
- Submitting
character()
(an empty character vector) to
paste_pref_suff()
now causes an error. Use ""
instead.
- Fixed a bug where named values in
pref
and
suff
caused paste_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
notation
arguments.
- All functions that get pieces of row and column labels now
infer_notation()
by default, because new argument
inf_notation
is set to TRUE
.
- Rename
paste_pieces()
–>
paste_noun_pp()
.
- Rename
split_labels()
–>
split_noun_pp()
.
- Rename
RCLabels::prepositions
–>
RCLabels::prepositions_list
to bring consistency with
RCLables::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_notation
example in the documentation. (The
example for to_notation
was
from_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%.
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%.
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 returns NULL
,
as expected.
- All return values from
get_piece()
are now named
appropriately.
- Added new options for the
piece
argument of
get_piece()
: “pps”, “prepositions”, and “objects”.
RCLabels::prepositions
is 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 with get_piece()
.
keep
–> which
for argument name in
get_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%.
RCLabels 0.0.4 (2021-12-06)
- New function
replace_by_pattern()
.
- New function
match_by_pattern()
.
- First CRAN release.
- New tests for new functions.
- 187 tests, all passing.
- Test coverage remains at 100 %.
RCLabels 0.0.3
- Added code coverage.
- Added automated spell checking to the package.
- No new tests.
- 156 tests, all passing.
- Test coverage remains at 100 %.
RCLabels 0.0.2
- First release.
- Added GitHub pages site.
- Added a vignette.
- Added extraction functions.
- Added a
NEWS.md
file 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 %.
RCLabels 0.0.1