Learn R Programming

Software Citation Tools

R package citation, version 0.8.2

Purpose and Functionality

A collection of functions to extract citation information from 'R' packages and to deal with files in 'citation file format' (https://citation-file-format.github.io/), extending the functionality already provided by the citation() function in the 'utils' package.

Installation

For installation of the most recent package version an additional repository has to be added in R:

options(repos = c(CRAN = "@CRAN@", pik = "https://rse.pik-potsdam.de/r/packages"))

The additional repository can be made available permanently by adding the line above to a file called .Rprofile stored in the home folder of your system (Sys.glob("~") in R returns the home directory).

After that the most recent version of the package can be installed using install.packages:

install.packages("citation")

Package updates can be installed using update.packages (make sure that the additional repository has been added before running that command):

update.packages()

Questions / Problems

In case of questions / problems please contact Jan Philipp Dietrich dietrich@pik-potsdam.de.

Citation

To cite package citation in publications use:

Dietrich J, Leoncio W (2023). citation: Software Citation Tools. doi: 10.5281/zenodo.3813429 (URL: https://doi.org/10.5281/zenodo.3813429), R package version 0.8.2, <URL: https://github.com/pik-piam/citation>.

A BibTeX entry for LaTeX users is

@Manual{,
 title = {citation: Software Citation Tools},
 author = {Jan Philipp Dietrich and Waldir Leoncio},
 year = {2023},
 note = {R package version 0.8.2},
 doi = {10.5281/zenodo.3813429},
 url = {https://github.com/pik-piam/citation},
}

Copy Link

Version

Install

install.packages('citation')

Monthly Downloads

254

Version

0.8.2

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jan Dietrich

Last Published

March 30th, 2023

Functions in citation (0.8.2)

read_cff

read_cff
scanRepos

scan repositories
citation-package

citation: Software Citation Tools
package2zenodo

package2zenodo
citation_doi

citation_doi
cff2r

Convert from CFF into R
citation2zenodo

citation2zenodo
cff2bibentry

cff2bibentry
cffReport

cffReport
cff2zenodo

cff2zenodo
r2cff

Convert from R DESCRIPTION into CFF
cff2md

cff2md