Re: [R-pkg-devel] Needing rgeos from sf

2019-07-25 Thread Neal Richardson
A couple of ideas: 1. Both `sf` and `sp` packages Suggest rgdal and rgeos. If your package were to Suggest them, the dependencies will be available for CRAN checks, but they won't be available if they're only Suggested by a package you Import. 2. Except sometimes when they are available. I've expe

Re: [R-pkg-devel] Needing rgeos from sf

2019-07-25 Thread Roy Mendelssohn - NOAA Federal via R-package-devel
Thanks, actually have similar code for some other packages that must have been causing similar problems (that part was from the original author, I am now the maintainer). Now I understand why he had something similar in the code. There is a comment about Namespaces not being handled properl

Re: [R-pkg-devel] Needing rgeos from sf

2019-07-25 Thread Duncan Murdoch
On 25/07/2019 3:47 p.m., Roy Mendelssohn - NOAA Federal wrote: Okay I added rgeos but now it can't find rgdal. as in: Error: processing vignette 'using_plotdap.Rmd' failed with diagnostics: package 'rgdal' is not available --- failed re-building 'using_plotdap.Rmd' A question I asked before

Re: [R-pkg-devel] Needing rgeos from sf

2019-07-25 Thread Roy Mendelssohn - NOAA Federal via R-package-devel
Okay I added rgeos but now it can't find rgdal. as in: > Error: processing vignette 'using_plotdap.Rmd' failed with diagnostics: > package 'rgdal' is not available > --- failed re-building 'using_plotdap.Rmd' > A question I asked before is if there is anyway to check that 'rgdal' and 'rgeos' a

Re: [R-pkg-devel] Needing rgeos from sf

2019-07-25 Thread Duncan Murdoch
On 25/07/2019 3:21 p.m., Roy Mendelssohn - NOAA Federal via R-package-devel wrote: 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’ ‘rge

[R-pkg-devel] Needing rgeos from sf

2019-07-25 Thread Roy Mendelssohn - NOAA Federal via R-package-devel
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 fro