check_bibtex_file: Check Bibtex File

Description Usage Arguments Details Value Examples

View source: R/check_bibtex_file.R

Description

This function goes through a file containing BibTeX citations and compares the citations to a vector of citations given.

Usage

1
check_bibtex_file(file, citations)

Arguments

file

File containing BibTeX citations.

citations

A vector of packages, in the order they appear in your citation file.

Details

NOTE: The order of the citations vector must be the same as the order of the citations in the file. For example, if the citations vector contains 2 packages and is ordered as c(PackageA, PackageB), PackageA must be the first citation to appear in the citation file.

Value

Any issues with the citation given when compared to the package's citation.

Examples

1
2
3
4
check_bibtex_file("references.bib", c("tidyverse", "Lahman"))


check_bibtex_file("references.bib", "knitr")

matthewwankiewicz/citationcheckR documentation built on Dec. 21, 2021, 3:47 p.m.