Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NA_character_ converted to string #1

Closed
nathan-russell opened this issue Apr 3, 2016 · 0 comments
Closed

NA_character_ converted to string #1

nathan-russell opened this issue Apr 3, 2016 · 0 comments

Comments

@nathan-russell
Copy link
Owner

(h <- hashmap(1:5, c(letters[1:4], NA)))
##    [5] => [NA]  
##    [4] => [d]   
##    [3] => [c]   
##    [2] => [b]   
##    [1] => [a]   
##  [...] => [...] 

anyNA(h$all_values())
#[1] FALSE

class(h[[5]])
#[1] "character"

https://github.com/nathan-russell/hashmap/blob/master/inst/include/hashmap/traits.hpp#L32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant