RobinHankin / disordR

https://robinhankin.github.io/disordR/
1 stars 0 forks source link

extraction bug #2

Closed RobinHankin closed 3 years ago

RobinHankin commented 3 years ago

Look:

> a <- disord(sample(30))
> b <- disord(sample(30))
> a[b>3]
A disord object with hash 2e0b2ff0deb9785ef80a8eb110d1ca70e2042685 and elements
 [1] 21 24 28 11 18 30 17 27  5 12 22 15  6 20 23  8  2 25  1  7 19 10 16 14 29
[26]  9  3
(in some order)
> 

Above, a[b>3] should return an error, but doesn't.