Skip to content

Commit 3241888

Browse files
authored
amend #62: collapse string for multiple authors (#63)
1 parent b2def46 commit 3241888

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

DESCRIPTION

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ Type: Package
33
Title: A Lightweight Version of R Markdown
44
Version: 0.4.11
55
Authors@R: c(
6-
person("Yihui", "Xie", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-0645-5666", URL = "https://yihui.org")),
7-
person()
8-
)
6+
person("Yihui", "Xie", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-0645-5666", URL = "https://yihui.org")),
7+
person("Tim", "Taylor", role = "ctb", comment = c(ORCID = "0000-0002-8587-7113")),
8+
person()
9+
)
910
Description: Render R Markdown to Markdown (without using 'knitr'), and Markdown
1011
to lightweight HTML or 'LaTeX' documents with the 'commonmark' package (instead
1112
of 'Pandoc'). Some missing Markdown features in 'commonmark' are also

R/package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pkg_desc = function(name = detect_pkg()) {
134134
names(d) = fields
135135
# remove single quotes on words (which are unnecessary IMO)
136136
for (i in c('Title', 'Description')) d[[i]] = sans_sq(d[[i]])
137-
d[['Author']] = pkg_authors(d)
137+
d[['Author']] = one_string(pkg_authors(d), ', ')
138138
d[['Authors@R']] = NULL
139139
# convert URLs to <a>, and escape HTML in other fields
140140
for (i in names(d)) d[[i]] = if (!is.na(d[[i]])) {

man/litedown-package.Rd

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)