plume 0.1.0
Documentation improvements
-
New
vignette("using-credit-roles")
which describes how to work with the Contributor Roles Taxonomy in plume. -
New
vignette("plume-workflow")
which describes how to use plume and googlesheets4 to manage author metadata.
Minor improvements and bug fixes
-
New helpers
everyone()
andeveryone_but()
to select all authors or exclude some in$set_*()
methods. -
Leading and trailing white spaces are now trimmed when creating
plume
objects. -
$get_contributions()
now handles namesakes (#15). -
$get_contributions(alphabetical_order = TRUE)
now reorders contributors only (#18). -
R6 classes have been overhauled for a better separation of concerns (#5, #12).
-
$set_*()
methods have been moved to their own classes. -
PlumeQuarto
now only does what it is designed for: injecting author metadata into the YAML header of Quarto files. This means thatPlumeQuarto
can no longer generate author information as character strings. -
Plume
now drops variables that arePlumeQuarto
-specific.Plume
's constructor also lost theby
parameter as it was only used in$set_corresponding_authors()
.
-
-
$new()
andplm_template()
gain a new parametercredit_roles
to facilitate the use of the Contributor Roles Taxonomy. -
$to_yaml()
can now push data to empty YAML headers (#9). -
PlumeQuarto
now handles roles via theroles
YAML key (#5). -
New method
$get_orcids()
that returns authors' ORCID. -
Phone numbers are now set using the variable and attribute
phone
(#4). -
plume methods now print outputs in a consistent way.
-
$get_author_list()
now acceptsformat = ""
to return author names only. This is equivalent toformat = NULL
(#3). -
plume classes now error when a given or family name is
NA
or a blank string. -
Blank and empty strings are now converted to
NA
when creatingplume
objects (#2). -
$get_contact_details()
now drops corresponding authors with no contact details. -
$get_contact_details()
has been reworked to bind any combination of contact details properly. -
$to_yaml()
now outputs verbatimtrue
/false
(#1).