RobinHankin / disordR

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

a[] bug #15

Closed RobinHankin closed 3 years ago

RobinHankin commented 3 years ago

look:

> a <- rdis(6)
> a
A disord object with hash 0391730bcf1a203ee697791935021da1727c4966 and elements
[1] 0.47487254 0.09885473 0.06581562 0.51911187 0.05166260 0.94916747
(in some order)
> a[]
[1] 0.47487254 0.09885473 0.06581562 0.51911187 0.05166260 0.94916747
attr(,"hash")
[1] "0391730bcf1a203ee697791935021da1727c4966"
> 

On the last line, I would expect a[] to either return a disord object or an error.