[Rspatial-devel] rgeos exportClasses SpatialLinesNULL
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Mon Mar 9 08:37:46 CET 2015
A package that imports (anything from) rgeos and declares
MyClass1 <- setClass('MyClass1', contains = c('SpatialLines'))
MyClass2 <- setClass('MyClass2', contains = c('MyClass1'))
keeps getting the warning: "Found the following significant warnings:
Warning: class "SpatialLinesNULL" is defined (with package slot
‘rgeos’) but no metadata object found to revise subclass
information---not exported? Making a copy in package ‘minweSpatialNULL’"
See
http://stackoverflow.com/questions/28871632/how-to-resolve-warning-messages-metadata-object-not-found-spatiallinesnull-cla
I don't understand why this is, but so do I not understand ClassUnions.
I'm resolving this by having rgeos exportClass SpatialLinesNULL and all
the other *NULL classes. (Having it not exportClass SpatialCollections
did not resolve the problem either).
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster,
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 33081
Journal of Statistical Software: http://www.jstatsoft.org/
Computers & Geosciences: http://elsevier.com/locate/cageo/
Spatial Statistics Society http://www.spatialstatistics.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.r-forge.r-project.org/pipermail/rspatial-devel/attachments/20150309/3ec15fc1/attachment.sig>
More information about the Rspatial-devel
mailing list