[R-pkg-devel] Package manual built by CRAN (Xposted from R-help)

2019-07-25 Thread Helmut Schütz
Dear all, recently I noticed an unexpected effect. The PDF-manual built from the package’s .Rd-files looked different to what I was used to beforeand to the one rendered locally. Specifically: If the reference-section looks like this \references{   foo \href{bar}{baz}   ... } previously "fo

[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

Re: [R-pkg-devel] Package manual built by CRAN (Xposted from R-help)

2019-07-25 Thread Duncan Murdoch
This sounds like a LaTeX bug in whatever system CRAN is using to produce the PDF. Like you, I don't see footnotes, I see the link inline with a complete URL. I think you'd get the footnotes if the LaTeX hyperref.sty file is not found, but there may be other ways to trigger that option. Dunca

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

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: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
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 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] Package manual built by CRAN (Xposted from R-help)

2019-07-25 Thread Helmut Schütz
Hi Duncan, Duncan Murdoch wrote on 2019-07-25 21:33: This sounds like a LaTeX bug in whatever system CRAN is using to produce the PDF.  Like you, I don't see footnotes, I see the link inline with a complete URL.  I think you'd get the footnotes if the LaTeX hyperref.sty file is not found, […]

[R-pkg-devel] Example fails in check

2019-07-25 Thread Sigbert Klinke
Hi, im my package development I get the following error when checking an example: > m <- findMatch('test', x[[1]], FUN='leven(code)') %>% addWave(x[[2]]) Error in findMatch("test", x[[1]], FUN = "leven(code)") %>% addWave(x[[2]]) : could not find function "%>%" Execution halted In