Closed LukasWallrich closed 3 months ago
Hi Lukas,
Thanks for reporting, I see the issue and I will fix the input check to also deal with zero length inputs.
Frantisek
Does this error helps with debuging?
> zcurve::zcurve(z = numeric(0))
Error in zcurve::zcurve(z = numeric(0)) :
An empty input was passed as z-scores.
Perfect, thanks!
It's on the way to CRAN.
I use
zcurve
in an app, and took quite a long time to figure out what was going on in a case like the below - maybe there could be a less misleading/more explicit error message?Created on 2024-05-23 with reprex v2.1.0