Skip to content

Commit

Permalink
Remove ',' before 'et al' in Cite functions
Browse files Browse the repository at this point in the history
* Closes ropensci#84
  • Loading branch information
mwmclean committed Mar 15, 2021
1 parent 72d907b commit 5a8a874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: RefManageR
Version: 1.3.1
Version: 1.3.2
Title: Straightforward 'BibTeX' and 'BibLaTeX' Bibliography Management
Authors@R: person(c("Mathew", "W."), "McLean", role = c("aut", "cre"),
email = "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion R/rmdCite.R
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Cite <- function(bib, ..., textual = FALSE, before = NULL, after = NULL,
longnamesfirst)){
authors <- authors[seq_len(max.names)]
authors[length(authors)] <- paste0(authors[length(authors)],
", et al.")
" et al.")
}else{
if (length(authors) > 1L)
authors[length(authors)] <- paste("and",
Expand Down

0 comments on commit 5a8a874

Please sign in to comment.