# NOT RUN {
# Read from .bib file:
require(journalabbr)
path = system.file("extdata", "testfile_1.bib", package = "journalabbr", mustWork = TRUE)
bib <- read_bib2tib(path)
# Write to .bib file:
write_tib2bib(bib, file = tempfile(fileext = ".bib"))
# Use `append = TRUE` to add lines to an existing .bib file:
# }
Run the code above in your browser using DataLab