Appears some times when using group2 with water year setting -- maybe has something to do with gage starts and ends? As of 5/19/2025 this example produces the error:
# this produces the error (note: default for year="water")
gfa <- hydrotools::group2(gage_flows_all)
# while this is fine:
gfa <- hydrotools::group2(gage_flows_all, year="calendar")
The issue is thrown in the caTools package, though no ither reports of it could be found in that repo. https://github.com/spluque/caTools/issues
@COBrogan