Changelog
RCLabels 0.1.10 (2024-01-26)
CRAN release: 2024-01-29
- Tests now run in parallel.
- Now a better test for inferring notation when the
notation
argument 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%.
RCLabels 0.1.9 (2023-12-20)
CRAN release: 2023-12-21
- Added a statement of need to the
README.Rmd
file. - No new tests.
- Still at 372 tests, all passing.
- Test coverage remains at 100%.
RCLabels 0.1.8 (2023-12-09)
CRAN release: 2023-12-10
- Fixing GitHub pkgdown website.
- No new tests.
- Still at 372 tests, all passing.
- Test coverage remains at 100%.
RCLabels 0.1.7 (2023-11-30)
CRAN release: 2023-12-01
- Added code of conduct and contributing pages to documentation.
- Fixed typos in README.Rmd
- No new tests.
- Still at 372 tests, all passing.
- Test coverage remains at 100%.
RCLabels 0.1.6 (2023-07-28)
- This version not released to CRAN.
- Changed the citation URL to point to Zenodo.
- No new tests
- Still at 372 tests, all passing.
- Test coverage remains at 100%.
RCLabels 0.1.5 (2023-05-04)
- Move to latest version of GitHub test coverage workflow.
- This version not released to CRAN.
- No new tests
- Still at 372 tests, all passing.
- Test coverage remains at 100%.
RCLabels 0.1.4 (2023-04-25)
CRAN release: 2023-04-25
- Fixed a bug where a
list()
was returned whencharacter()
should have been returned for zero-length inputs. - A few new tests
- Now at 372 tests, all passing
- Test coverage remains at 100%.
RCLabels 0.1.3 (2023-01-16)
- This version was not submitted to CRAN. It is purely a backend maintenance release.
- Updated the version of github actions to latest from the
usethis
package 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%.
RCLabels 0.1.2 (2022-10-28)
CRAN release: 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
pref
andsuff
causedpaste_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 argumentinf_notation
is set toTRUE
. - Rename
paste_pieces()
–>paste_noun_pp()
. - Rename
split_labels()
–>split_noun_pp()
. - Rename
RCLabels::prepositions
–>RCLabels::prepositions_list
to 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_notation
example in the documentation. (The example forto_notation
wasfrom_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)
CRAN release: 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)
CRAN release: 2022-01-04
- 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
piece
argument ofget_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 withget_piece()
. -
keep
–>which
for 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%.
RCLabels 0.0.4 (2021-12-06)
CRAN release: 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 %.