powered by
R markdown format of a citation and/or bibentry object.
bibentry2rmd(x = "R")
Function bibentry2rmd returns a character scalar or vector.
character scalar, 'R' (default) or name of an R package
'R'
Function bibentry2rmd beautifies the output from function utils:::format.bibentry (with option style = 'text') in the following ways.
utils:::format.bibentry
style = 'text'
Line break '\n' is replaced by a white space;
'\n'
Fancy quotes \(``\), \(''\), \(`\) and \('\) are removed;
doi entries are shown as URLs with labels (in R markdown grammar).
bibentry2rmd('survival') if (FALSE) { # disabled for ?devtools::check ap = rownames(installed.packages()) lapply(ap, FUN = bibentry2rmd) }
Run the code above in your browser using DataLab