title: "Release notes for RCLabels
"
output: html_document
Cite all releases with doi 10.5281/zenodo.5819143, which always resolves to the latest release.
match_by_pattern()
gains new arguments such as
inf_notation
and choose_most_specific
which are passed to split_noun_pp()
.
Crucially, these new arguments prevent passing via ...
to grepl()
causing an error in an upcoming release
of matsbyname
.get_prepositions()
.bracket_notation
(instead of from_notation
or similar)
when calling get_prepositions()
.notation
argument
is not a list.infer_notation()
.README.Rmd
file.list()
was returned when
character()
should have been returned
for zero-length inputs.usethis
package
in an attempt to fix issues with the actions failing on github.modify_label_pieces()
now allows
piece = "pref"
and piece = "suff"
.character()
(an empty character vector)
to paste_pref_suff()
now causes an error.
Use ""
instead.pref
and suff
caused paste_pref_suff()
to fail. 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.dash_notation
.paste_pref_suff()
now recycles arguments of length 1.notation
arguments.infer_notation()
by default,
because new argument inf_notation
is set to TRUE
.paste_pieces()
--> paste_noun_pp()
.split_labels()
--> split_noun_pp()
.RCLabels::prepositions
--> RCLabels::prepositions_list
to bring consistency with RCLables::notations_list
.infer_notation()
obtains the notation
for any label or a vector of labels.RCLabels::notations_list
.RCLabels::in_notation
.to_notation
example in the documentation.
(The example for to_notation
was from_notation
.)get_pps()
.%>%
) from the system pipe (|>
).first_dot_notation
.get_piece(labels = NULL)
now returns NULL
, as expected.get_piece()
are now named appropriately.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.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.get_piece()
returns requested piece of a label.replace_by_pattern()
.match_by_pattern()
.NEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.