Skip to content

value() returns a vector instead of a list #13

Closed
@fangly

Description

@fangly

Hi Christopher,
I have stumbled across a small issue with the hash package:

h <- hash(c("a","b","c"), list("bar", 1L, TRUE))
print(h$a); print(h$b); print(h$c)
res <- values(h)
print(class(res)); print(res)

As you see, the list of values is stored properly in the hash, but instead of returning a list, values() returns a vector.
Cheers,
Florent

PS/ This is for hash version 2.2.6 (the latest on CRAN)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions