- Package name changed to CRediTas (#1)
- All function renamed to follow object_verb() convention. (#4)
create_template
istemplate_create
read_template
istemplate_read
write_cras
iscras_write
file
argument incras_write
and intemplate_create
no longer default toNULL
, they are not provided by default. If missing, they behave like the oldNULL
value.
cras_write
integrates better with literate programming such as rmarkdown and quarto. When file is NULL (new default), instead of writing a file, the function returns a string with the CRediT Author Statement. It works well with inline code in rmarkdown and quarto documents:r cras_write(cras_table, markdown = TRUE)
(#2cras_write
includes a new argumentdrop_authors
, if set toFALSE
, the authors without contributions are not removed from the statement. (#6)
- The roles are created using the function roles_get() instead of hard coded. (#3)
- The former allows to check if authors’ roles are up-to-date comparing with [CRediT] (https://credit.niso.org/) (#3)
- Improvements on the documentation of all functions (#6)
- In
cras_write
, the default ofmarkdown
argument isTRUE
. - Added some checks to
template_read
to ensure that the format is correct. (#6) - Added reviewers of ROpenScience to
DESCRIPTION
. - CSS fixed in pkgdown.
- Description added to
template_create
documentation. - Option to use
fix()
to edit the template is added toREADME
andget_started
vignette. - Related packages added to
README
. template_create
is more performant thanks to usingmatrix
instead ofdata.frame
to create the empty contributions.