When results is NULL, we should create an empty SpatialPolygonsDataframe. To save empty SpatialTemporalDataframes we need to use sf, since it supports the empty Geometries.
When results is NULL, we should create an empty SpatialPolygonsDataframe. To save empty SpatialTemporalDataframes we need to use sf, since it supports the empty Geometries.