cffr 0.5.0
CRAN release: 2023-05-05
Lifecycle
- Function
cff_to_bibtex()
andcff_extract_to_bibtex()
have been merged, the latter (cff_extract_to_bibtex()
) is now soft-deprecated.
New features
- New function
write_citation()
that can generate a inst/CITATION file from acff
object (#51).
Enhancements
Additional authors of a R package can be now included based on the role on the DESCRIPTION file, via the parameter
authors_roles
(#49).New message interface based on cli capabilities.
-
Now the (invisible) result of
cff_validate()
includes the summary of errors (if any) as anattributes()
named"error"
, asjsonvalidate::json_validate()
does whenverbose = TRUE
:Be verbose? If
TRUE
, then an attribute"errors"
will list validation failures as a data.frame Improvements in the extraction of
`date-release`
.
cffr 0.4.1
CRAN release: 2023-01-30
- Replace crayon dependency for cli (#46).
- Improvements on the performance of
cff_validate()
.
cffr 0.4.0
CRAN release: 2022-11-17
- Fix typo (#40) by @dpprdan
- Add new function
cff_from_bibtex()
. - Consistent behavior on dependency urls when RSPM is the default repo (i.e. on GitHub Actions or RStudio Cloud).
cffr 0.3.0
CRAN release: 2022-09-23
-
preferred-citation
is only produced when a CITATION (R) file has been provided with the package (#37). - Improve email handling on authors.
- Add
cff_read()
function. This functionality was already implemented oncff()
but new function added in order to provide clarity.
cffr 0.2.2
CRAN release: 2022-04-08
- cffr now uses a local copy of the schema.json for validating. (#33).
cffr 0.2.1
CRAN release: 2022-01-16
GitHub Action now runs only on
master
ormain
branch.Better handling of references
cffr 0.2.0
CRAN release: 2022-01-04
-
Now cffr extracts also information of the package dependencies and adds the main citation of the dependencies to the
references
field, usingcitation(auto = TRUE)
.- New
dependencies
parameter oncff_create()
andcff_write()
.
- New
-
Other improvements on
cff_parse_citation():
cff_parse_citation()
extracts more information of authors, based on the fields provided on the DESCRIPTION file.cff_parse_citation()
does a better job extracting information frombibentry()
/BibTeX and mapping it topreferred-citation/references
fields of CFF.
-
New BibTeX functions:
Add a new dependency:
lifecycle
.
cffr 0.1.1
CRAN release: 2021-11-11
- Accepted on JOSS
- Include
pages
oncff_parse_citation()
. - New
gh_keywords
parameter oncff_create()
/cff_write()
. IfTRUE
, it would include GitHub repo topics as keywords.
cffr 0.0.2
-
cffr
is part now of rOpenSci. - Update on docs and README.
- Add fuzzy match on
keys
parameter. - New dataset:
cran_to_spdx
. - Add DOI https://doi.org/10.5281/zenodo.5509766
- Citation of installed packages extracted using
citation().
- Auto-generating
preferred-citation
key from DESCRIPTION. - Rename
cff_schema_definitions_reference()
tocff_schema_definitions_refs()
. - “repository” key is supported.
- Added vignette:
vignette("crosswalk", package = "cffr")
. - Add support to Bioconductor packages.
- New function:
cff_gha_update()
.