Open gordonwoodhull opened 8 years ago
I just got bitten by this, again.
We have rcs.get(list=TRUE), but rcs.list takes the first element (interprets its argument as a scalar) and silently throws the rest away.
rcs.get(list=TRUE)
rcs.list
Could we check for this in the same way as for rcs.get, rejecting length(key) > 1 if list=FALSE but doing
rcs.get
unlist(lapply(key, rcs.list))
if list=TRUE?
This is a question for our roving R expert @s-u.
I just got bitten by this, again.
We have
rcs.get(list=TRUE)
, butrcs.list
takes the first element (interprets its argument as a scalar) and silently throws the rest away.Could we check for this in the same way as for
rcs.get
, rejecting length(key) > 1 if list=FALSE but doingif list=TRUE?