Trying to convert data with class 'SpatialPointsDataFrame' to lat-long, but getting below error.
'shape2=spTransform(shape1,CRS("+init=epsg:4326"))
Error in if (is.projected(obj)) { : missing value where TRUE/FALSE needed
In addition: Warning message:
In spTransform(xSP, CRSobj, ...) :
NULL source CRS comment, falling back to PROJ string'