trinker / qdap

Quantitative Discourse Analysis Package: Bridging the gap between qualitative data and quantitative analysis
http://cran.us.r-project.org/web/packages/qdap/index.html
175 stars 44 forks source link

replace_number converts numeric-zero to blank #222

Open bbolker opened 8 years ago

bbolker commented 8 years ago

is this the intended behaviour?

> qdap::replace_number("0 cookies")
[1] "cookies"

see discussion and diagnosis on Stack Overflow for more details ...

trinker commented 8 years ago

No not at all. Definitely a bug. Thanks for the heads up.

On Tue, Aug 2, 2016 at 8:59 AM, Ben Bolker notifications@github.com wrote:

is this the intended behaviour?

qdap::replace_number("0 cookies") [1] "cookies"

see discussion and diagnosis on Stack Overflow http://stackoverflow.com/questions/38709392/qdap-package-bug-in-converting-zero-digits-to-zero-words/38709645#38709645 for more details ...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trinker/qdap/issues/222, or mute the thread https://github.com/notifications/unsubscribe-auth/ABrnzoa3H_N3YMG48x_9wASLCx0RZcWJks5qbz9NgaJpZM4JalI- .