Update tsChipsRGB.R

Adapted script allows to handle objects of class SpatialPolygon that contain only one feature