## defaut separators
makeEnglishList(c("foo", "bar", "baz"))
makeEnglishList(c("foo", "bar"))
makeEnglishList(c("foo"))
## without the 'Oxford comma'
makeEnglishList(c("foo", "bar", "baz"), lastsep = " and ")
## an 'or' list
makeEnglishList(c("foo", "bar", "baz"), lastsep = ", or ")
Run the code above in your browser using DataLab