Releases: ropensci/CRediTas
Releases · ropensci/CRediTas
Version 0.3.0
Zenodo release (version 0.2.0)
This release is to connect the repository with Zenodo
CRediTas 0.2.0
Breaking changes
- Package name changed to CRediTas (#1)
- All function renamed to follow object_verb() convention. (#4)
create_templateistemplate_createread_templateistemplate_readwrite_crasiscras_write
fileargument incras_writeand intemplate_createno longer default toNULL, they are not provided by default. If missing, they behave like the oldNULLvalue.
New features
cras_writeintegrates 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_writeincludes a new argumentdrop_authors, if set toFALSE, the authors without contributions are not removed from the statement. (#6)
Minor improvements and fixes
- 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 ofmarkdownargument isTRUE. - Added some checks to
template_readto ensure that the format is correct. (#6) - Added reviewers of ROpenScience to
DESCRIPTION. - CSS fixed in pkgdown.
- Description added to
template_createdocumentation. - Option to use
fix()to edit the template is added toREADMEandget_startedvignette. - Related packages added to
README. template_createis more performant thanks to usingmatrixinstead ofdata.frameto create the empty contributions.
Full Changelog: https://github.com/ropensci/CRediTas/commits/v0.2.0