New features
-
New
new_plume()andnew_plume_quarto()that are aliases forPlume$new()andPlumeQuarto$new(), respectively (#124). -
New
plm_symbols()to set the symbols used inPlume(#119). -
Plume$new()andPlumeQuarto$new()gain a new parameterdotted_initialsto control whether or not initials should be dotted. This parameter replaces thedotted_initialsparameter of$get_contributions(), which is now deprecated (#112). -
Plume$new()gains a new parameterdistinct_initialsto differentiate similar authors' initials, when possible. This is done by adding extra letters from the last word of authors' family name until initials are unique. Initials will remain in the short form if authors share the same family name (#111). -
New
as_lines()to output vector elements on distinct lines when rendering an R Markdown or Quarto document (#98).
Breaking changes
- Setting new default names to a plume subclass must now be done via the
namesfield (#117).
Minor improvements and bug fixes
-
$get_author_list()now correctly drops leading^when there are no symbols to display (#127). -
ORCID icons are now ignored in Quarto documents due to a change introduced in Quarto 1.5 regarding how paths are resolved. They continue to work in R Markdown as before (#109).
-
Plumenow automatically escapes special Markdown characters used as symbols (#119). -
$set_*()methods are now dot-agnostic (#113). -
The
orcidvariable is now customisable (#96).
Lifecycle changes
-
All functionalities deprecated in 0.2.1 and earlier now throw an error. This includes:
-
The
credit_rolesparameter inplm_template()and$new(). -
The
formatparameter in$get_author_list(). -
The
byparameter in$set_*()methods. -
everyone_but(). -
$set_equal_contributor(). -
Defining authors' roles explicitly in the input dataset.
-
Newly deprecated
-
$get_plume()is deprecated in favour of$data()(#115). -
$get_roles()is deprecated in favour of$roles()(#114). -
The
dotted_initialsparameter of$get_contributions()is now deprecated. This parameter must now be set in the constructors (#112). -
orcid()is deprecated in favour oficn_orcid()(#105). -
The
formatparameter of$get_contact_details()is now deprecated in favour of the more explicittemplateparameter (#104).