-
Notifications
You must be signed in to change notification settings - Fork 283
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Description
It seem to fail in the case of a transformations only:
These two work as expected:
> str(update_list(list(a = 1, b = 2), a = ~ list(a)))
List of 2
$ a:List of 1
..$ : num 1
$ b: num 2> str(update_list(list(a = 1, b = 2), c = ~ list(a)))
List of 3
$ a: num 1
$ b: num 2
$ c:List of 1
..$ : num 1This one fails
> str(update_list(list(a = list(1), b = 2), a = ~ list(a)))
List of 2
$ a:List of 1
..$ : num 1
$ b: num 2Expected result contains a doublly nested list:
> str(list(a = list(list(1)), b = 2))
List of 2
$ a:List of 1
..$ :List of 1
.. ..$ : num 1
$ b: num 2
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior