Debian Codegraph @

inst/CITATION

raw
1 year = sub('.*(2[[:digit:]]{3})-.*', '\\1', meta$Date, perl = TRUE)
2 vers = paste('R package version', meta$Version)
3 if (length(year) == 0) year = format(Sys.Date(), '%Y')
4
5 bibentry(
6 'manual',
7 title = paste('tinytex:', meta$Title),
8 author = Filter(function(p) 'aut' %in% p$role, as.person(meta$Author)),
9 year = year,
10 note = vers,
11 url = meta$URL
12 )
13
14 bibentry(
15 'article',
16 title = 'TinyTeX: A lightweight, cross-platform, and easy-to-maintain LaTeX distribution based on TeX Live',
17 author = 'Yihui Xie',
18 journal = 'TUGboat',
19 year = '2019',
20 volume = '40',
21 number = '1',
22 pages = '30--32',
23 url = 'https://tug.org/TUGboat/Contents/contents40-1.html'
24 )