natverse / nat

NeuroAnatomy Toolbox: An R package for the (3D) visualisation and analysis of biological image data, especially tracings of single neurons.
https://natverse.org/nat/
64 stars 28 forks source link

Bug in xyzmatrix for 0 row data.frames #433

Closed jefferis closed 4 years ago

jefferis commented 4 years ago
> df=data.frame(x=numeric(), y=numeric(), z=numeric())
> xyzmatrix(df) <- xyzmatrix(df)
Error in value[[jvseq[[jjj]]]] : subscript out of bounds