Skip to content

Commit

Permalink
Correctly format R in citation entry for Manual (#2394)
Browse files Browse the repository at this point in the history
Co-authored-by: Yihui Xie <[email protected]>
  • Loading branch information
cderv and yihui authored Feb 24, 2025
1 parent 545d43f commit 7ea4fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if (length(year) == 0) year = format(Sys.Date(), '%Y')

bibentry(
'manual',
title = paste('knitr:', meta$Title),
title = paste('knitr:', gsub('\\bR\\b', '{R}', meta$Title)),
author = Filter(function(p) 'aut' %in% p$role, as.person(meta$Author)),
year = year,
note = vers,
Expand Down

0 comments on commit 7ea4fc8

Please sign in to comment.