Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9eb65f8

Browse files
committed
adapt CITATION file
1 parent 1b7bc4f commit 9eb65f8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

inst/CITATION

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@ vers = paste('R package version', meta$Version)
33
if (length(year) == 0) year = format(Sys.Date(), '%Y')
44

55
bibentry(
6-
'manual',
6+
'Manual',
77
title = paste('bookdown:', meta$Title),
88
author = Filter(function(p) 'aut' %in% p$role, as.person(meta$Author)),
99
year = year,
1010
note = vers,
11-
url = strsplit(meta$URL, ',')[[1]][1]
11+
url = strsplit(meta$URL, ',')[[1]][1],
12+
key = sprintf("%s-package", meta$Package)
1213
)
1314

1415
bibentry(
15-
'book',
16+
'Book',
1617
title = 'bookdown: Authoring Books and Technical Documents with {R} Markdown',
17-
author = 'Yihui Xie',
18+
author = as.person('Yihui Xie [aut]'),
1819
publisher = 'Chapman and Hall/CRC',
1920
address = 'Boca Raton, Florida',
2021
year = '2016',
21-
note = 'ISBN 978-1138700109',
22-
url = 'https://bookdown.org/yihui/bookdown'
22+
isbn = '978-1138700109',
23+
url = 'https://bookdown.org/yihui/bookdown',
24+
key = sprintf("%s-book", meta$Package)
2325
)

0 commit comments

Comments
 (0)