Closed frequena closed 4 years ago
Thanks for the clear example, this looks like a bug in how factors are handled internally.
Yes, this is a bug, thanks for bringing this issue to our attention. I see how to fix this but will need to do some testing prior to pushing as it affects some c++ internals.
This should be fixed on master now. Please reinstall from github to fix this issue. Thanks.
devtools::install_github("rnabioco/valr")
It works! Perfect, thank you very much for your work, valr is really useful!
When I use the function "bed_intersect", any factor column in the input is converted automatically to an integer column. The same column as a character type, it does not change.
Example:
Created on 2020-04-23 by the reprex package (v0.3.0)