finally solved incompatibility issue with maptools (was due to setClass(owin) in maptools vs. setOldClass(owin) in polyCub); added coerce-method Polygon->gpc.poly