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

convert to code fails if there are bogus-codes in the hierarchy #8

Closed
bernhard-da opened this issue Mar 4, 2019 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@bernhard-da
Copy link
Owner

converting and re-importing to/from R-code fails when there are bogus-codes in the hierarchy. e.g

t<- hier_create(root = "Total", nodes = LETTERS[1:4])
t<- hier_add(tree = t, root = "A", nodes = "a0")

r <- hier_convert(tree = t, as = "code")
t2<- hier_import(inp = r, from = "code") 

reason: parent nodes are not extracted.

@bernhard-da bernhard-da added the bug Something isn't working label Mar 4, 2019
@bernhard-da bernhard-da self-assigned this Mar 4, 2019
bernhard-da added a commit that referenced this issue Mar 4, 2019
@bernhard-da
Copy link
Owner Author

fixed with 82c7b2a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant