[R-pkg-devel] Needing rgeos from sf

Roy Mendelssohn - NOAA Federal roy@mende|@@ohn @end|ng |rom no@@@gov
Thu Jul 25 21:21:17 CEST 2019

I have been testing a package for resubmission with bug fixes.  On the present CRAN builds I get:

> Result: NOTE 
>     Namespaces in Imports field not imported from:
>      ‘mapdata’ ‘maptools’ ‘plot3D’ ‘rgdal’ ‘rgeos’
>      All declared Imports should be used. 

However,  if I remove rgeos from the imports I get from win builder:

> Error in st_as_sfc.SpatialPolygons(sp::geometry(x), ...) : 
>      package rgeos required for finding out which hole belongs to which exterior ring

Note that I am not calling 'rgeos',  either 'sf' or 'sp' is,  but does not appear to be properly importing all the need namespaces.  

Best way  to proceed?  Include rgeos in Import and get the Note,  or ????



"The contents of this message do not reflect any position of the U.S. Government or NOAA."
Roy Mendelssohn
Supervisory Operations Research Analyst
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn using noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected" 
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.

More information about the R-package-devel mailing list