The word 'and' is inserted before the last element and an Oxford comma is used.
Examples
paste_oxford_list(1:3)
#> [1] "1, 2, and 3"
paste_oxford_list(c("cats", "dogs", "turtles"))
#> [1] "cats, dogs, and turtles"
The word 'and' is inserted before the last element and an Oxford comma is used.
paste_oxford_list(1:3)
#> [1] "1, 2, and 3"
paste_oxford_list(c("cats", "dogs", "turtles"))
#> [1] "cats, dogs, and turtles"