Since we allow NA in general and the standard behaviour is to return a named list with all NULL when no data matches the default criteria I would suggest the following unit test:
input check for all null and raise informative error
filter all data and make sure code runs through and named list with all NULL is returned (which is standard behaviour when all data gets filtered due to other timeseries requirements)
Created on 2023-12-04 with reprex v2.0.2
Since we allow NA in general and the standard behaviour is to return a named list with all NULL when no data matches the default criteria I would suggest the following unit test: