shosaco / vistime

Pretty timelines in R.
https://shosaco.github.io/vistime
GNU General Public License v3.0
168 stars 11 forks source link

Keep factor level order in group column #28

Closed kelly-sovacool closed 2 years ago

kelly-sovacool commented 2 years ago

Hi @shosaco!

I modified the code and wrote a couple new unit tests to make sure that the group column only gets converted to a factor if it isn't already one. I also modified a few existing unit tests to work with the new behavior.

Resolves #27

shosaco commented 2 years ago

Thanks Kelly, that's amazing! Will have a look soon!