The functions `sthm` and `choromap` accept `Spatial` object from `sp`, the code should be updated to accept also `sf` object.