Skip to content

Commit

Permalink
amend yihui#62: collapse string for multiple authors
Browse files Browse the repository at this point in the history
  • Loading branch information
TimTaylor committed Dec 16, 2024
1 parent b2def46 commit 035d68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ pkg_authors = function(desc, role = NULL, extra = TRUE) {
if (length(link)) name = sprintf('[%s](%s)', name, link)
one_string(c(name, orcid, role), ' ')
})
a
if (length(a) > 1) one_string(a, ', ') else a
}

#' @param path For [pkg_news()], path to the `NEWS.md` file. If empty, [news()]
Expand Down

0 comments on commit 035d68c

Please sign in to comment.