behavior of combine_words
when vector length is 2 and the and
option is empty
#2044
Closed
3 tasks done
Labels
bug
Bugs
Thank you for your continued development of great packages.
I was confused when the vector length given to
combine_words
was 2.The outputs I wanted were
`a`, `b`, `c`
and`a`, `b`
.Currently, to get the output of like that, we need to set
and
to the same content assep
, and also setoxford_comma
toFALSE
.How about changing to separate words with
sep
whenand
is empty even if the length is 2?By filing an issue to this repo, I promise that
xfun::session_info('knitr')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/knitr')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: