bib: Create a bib file for R packages, including the citations of...

Description Usage Arguments Value Examples

View source: R/beginr.R

Description

Create a bib file for R packages, including the citations of user-defined packages.

Usage

1
bib(pkg = c("base"), bibfile = "")

Arguments

pkg

character. Packages

bibfile

character. File path and name to save the bib entries. If "" (the default), it prints to the standard output connection, the console unless redirected by sink.

Value

bib entries

Examples

1
2
bib()
bib(pkg = c("mindr", "bookdownplus", "pinyin"))

Example output

@Manual{R-base,
  title = {R: A Language and Environment for Statistical Computing},
  author = {{R Core Team}},
  organization = {R Foundation for Statistical Computing},
  address = {Vienna, Austria},
  year = {2018},
  url = {https://www.R-project.org/},
}
@Manual{R-bookdownplus,
  title = {bookdownplus: Generate Assorted Books and Documents with R 'bookdown' Package},
  author = {Peng Zhao},
  year = {2019},
  note = {R package version 1.5.7},
  url = {https://CRAN.R-project.org/package=bookdownplus},
}
@Manual{R-mindr,
  title = {mindr: Convert Files Between Markdown or Rmarkdown Files and Mindmaps},
  author = {Peng Zhao},
  year = {2019},
  note = {R package version 1.2.2},
  url = {https://CRAN.R-project.org/package=mindr},
}
@Manual{R-pinyin,
  title = {pinyin: Convert Chinese Characters into Pinyin, Sijiao, Wubi or Other
Codes},
  author = {Peng Zhao},
  year = {2019},
  note = {R package version 1.1.6},
  url = {https://CRAN.R-project.org/package=pinyin},
}

beginr documentation built on May 6, 2019, 1:08 a.m.

Related to bib in beginr...