This is a wrapper function of xfun::join_words().
Usage
combine_words(
words,
sep = ", ",
and = " and ",
before = "",
after = before,
oxford_comma = TRUE
)Source
Adapted from knitr::combine_words() in the
knitr package.
Author
Yihui Xie xie@yihui.name (ORCID)