CRAN Package Check Results for Package geosample

Last updated on 2020-04-08 19:49:14 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 6.01 61.17 67.18 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.1 5.14 47.30 52.44 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 86.96 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.1 88.17 ERROR
r-devel-windows-ix86+x86_64 0.2.1 12.00 95.00 107.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.2.1 12.00 64.00 76.00 ERROR
r-patched-linux-x86_64 0.2.1 5.01 59.85 64.86 ERROR
r-patched-solaris-x86 0.2.1 126.20 ERROR
r-release-linux-x86_64 0.2.1 5.62 55.23 60.85 ERROR
r-release-windows-ix86+x86_64 0.2.1 10.00 101.00 111.00 ERROR
r-release-osx-x86_64 0.2.1 FAIL
r-oldrel-windows-ix86+x86_64 0.2.1 11.00 66.00 77.00 ERROR
r-oldrel-osx-x86_64 0.2.1 OK

Check Details

Version: 0.2.1
Check: examples
Result: ERROR
    Running examples in 'geosample-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: discrete.inhibit.sample
    > ### Title: Spatially discrete sampling
    > ### Aliases: discrete.inhibit.sample
    >
    > ### ** Examples
    >
    > library("sf")
    > set.seed(1234)
    > x <- 0.015+0.03*(1:33)
    > xall <- rep(x,33)
    > yall <- c(t(matrix(xall,33,33)))
    > xy <- cbind(xall,yall)+matrix(-0.0075+0.015*runif(33*33*2),33*33,2)
    >
    >
    > # Convert to SF object
    > xy <- xy %>%
    + as.data.frame %>%
    + sf::st_as_sf(coords = c(1,2))
    >
    >
    > # Plot the points
    > plot(st_geometry(xy),pch=19,cex=0.25,xlab="longitude",ylab="latitude",
    + cex.lab=1,cex.axis=1,cex.main=1, axes = TRUE)
    >
    >
    > # Generate spatially random sample
    > set.seed(15892)
    > xy.sample1 <- xy[sample(1:dim(xy)[1],50,replace=FALSE),]
    > plot(xy.sample1, pch = 19, col = 'black', add = TRUE)
    >
    >
    > set.seed(15892)
    > xy.sample2 <- discrete.inhibit.sample(obj=xy,size = 100,
    + delta = 0.08,plotit = TRUE)
    > plot(st_geometry(xy),pch=19, cex = 0.25, col="black", add = TRUE)
    >
    >
    > # Generate spatially inhibitory sample
    > # with close pairs (cp.zeta criterion):
    > set.seed(15892)
    > xy.sample3 <- discrete.inhibit.sample(obj=xy, size = 100,delta = 0.065,
    + k = 25,cp.criterion = "cp.zeta",
    + zeta = 0.025, plotit = TRUE)
    > plot(st_geometry(xy),pch=19, cex = 0.25, col="black", add = TRUE)
    >
    >
    > # Generate spatially inhibitory sample
    > # with close pairs (cp.neighb criterion):
    > set.seed(15892)
    > xy.sample4 <- discrete.inhibit.sample(obj=xy,size = 100,
    + delta = 0.065, k = 25,cp.criterion = "cp.neighb",
    + plotit = TRUE)
    > plot(st_geometry(xy),pch=19, cex = 0.25, col="black", add = TRUE)
    >
    >
    > # Generate spatially inhibitory sample
    > # with close pairs (cp.zeta criterion):
    > set.seed(15892)
    > xy.sample5 <- discrete.inhibit.sample(obj=xy,size = 100,
    + delta = 0.065, cp.criterion = "cp.zeta",
    + zeta = 0.025, delta.fix = TRUE,
    + k = 25, plotit = TRUE)
    > plot(st_geometry(xy),pch=19, cex = 0.25, col="black", add = TRUE)
    >
    >
    > # Generate simple inhibitory sample from a regular grid
    > library("PrevMap")
    Loading required package: maxLik
    Loading required package: miscTools
    
    Please cite the 'maxLik' package as:
    Henningsen, Arne and Toomet, Ott (2011). maxLik: A package for maximum likelihood estimation in R. Computational Statistics 26(3), 443-458. DOI 10.1007/s00180-010-0217-1.
    
    If you have questions, suggestions, or comments regarding the 'maxLik' package, please use a forum or 'tracker' at maxLik's R-Forge site:
    https://r-forge.r-project.org/projects/maxlik/
    Loading required package: raster
    
    Attaching package: 'raster'
    
    The following object is masked from 'package:maxLik':
    
     maxValue
    
    Loading required package: pdist
    Loading required package: Matrix
    > data("sim.data")
    > set.seed(15892)
    > xy.sample6 <- discrete.inhibit.sample(obj = sim.data,
    + size = 50, delta = 0.08,plotit = TRUE)
    OGR: Corrupt data
    Error in CPL_area(x) : OGR error
    Calls: discrete.inhibit.sample -> <Anonymous> -> st_area.sfc -> CPL_area
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.2.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'geosample-vignette.Rnw' using knitr
    Loading required package: sf
    Linking to GEOS 3.8.1, GDAL 3.0.4, PROJ 7.0.0
    Loading required package: sp
    Quitting from lines 269-276 (geosample-vignette.Rnw)
    Error: processing vignette 'geosample-vignette.Rnw' failed with diagnostics:
    OGR error
    --- failed re-building 'geosample-vignette.Rnw'
    
    SUMMARY: processing the following file failed:
     'geosample-vignette.Rnw'
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.2.1
Check: examples
Result: ERROR
    Running examples in ‘geosample-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: discrete.inhibit.sample
    > ### Title: Spatially discrete sampling
    > ### Aliases: discrete.inhibit.sample
    >
    > ### ** Examples
    >
    > library("sf")
    > set.seed(1234)
    > x <- 0.015+0.03*(1:33)
    > xall <- rep(x,33)
    > yall <- c(t(matrix(xall,33,33)))
    > xy <- cbind(xall,yall)+matrix(-0.0075+0.015*runif(33*33*2),33*33,2)
    >
    >
    > # Convert to SF object
    > xy <- xy %>%
    + as.data.frame %>%
    + sf::st_as_sf(coords = c(1,2))
    >
    >
    > # Plot the points
    > plot(st_geometry(xy),pch=19,cex=0.25,xlab="longitude",ylab="latitude",
    + cex.lab=1,cex.axis=1,cex.main=1, axes = TRUE)
    >
    >
    > # Generate spatially random sample
    > set.seed(15892)
    > xy.sample1 <- xy[sample(1:dim(xy)[1],50,replace=FALSE),]
    > plot(xy.sample1, pch = 19, col = 'black', add = TRUE)
    >
    >
    > set.seed(15892)
    > xy.sample2 <- discrete.inhibit.sample(obj=xy,size = 100,
    + delta = 0.08,plotit = TRUE)
    > plot(st_geometry(xy),pch=19, cex = 0.25, col="black", add = TRUE)
    >
    >
    > # Generate spatially inhibitory sample
    > # with close pairs (cp.zeta criterion):
    > set.seed(15892)
    > xy.sample3 <- discrete.inhibit.sample(obj=xy, size = 100,delta = 0.065,
    + k = 25,cp.criterion = "cp.zeta",
    + zeta = 0.025, plotit = TRUE)
    > plot(st_geometry(xy),pch=19, cex = 0.25, col="black", add = TRUE)
    >
    >
    > # Generate spatially inhibitory sample
    > # with close pairs (cp.neighb criterion):
    > set.seed(15892)
    > xy.sample4 <- discrete.inhibit.sample(obj=xy,size = 100,
    + delta = 0.065, k = 25,cp.criterion = "cp.neighb",
    + plotit = TRUE)
    > plot(st_geometry(xy),pch=19, cex = 0.25, col="black", add = TRUE)
    >
    >
    > # Generate spatially inhibitory sample
    > # with close pairs (cp.zeta criterion):
    > set.seed(15892)
    > xy.sample5 <- discrete.inhibit.sample(obj=xy,size = 100,
    + delta = 0.065, cp.criterion = "cp.zeta",
    + zeta = 0.025, delta.fix = TRUE,
    + k = 25, plotit = TRUE)
    > plot(st_geometry(xy),pch=19, cex = 0.25, col="black", add = TRUE)
    >
    >
    > # Generate simple inhibitory sample from a regular grid
    > library("PrevMap")
    Loading required package: maxLik
    Loading required package: miscTools
    
    Please cite the 'maxLik' package as:
    Henningsen, Arne and Toomet, Ott (2011). maxLik: A package for maximum likelihood estimation in R. Computational Statistics 26(3), 443-458. DOI 10.1007/s00180-010-0217-1.
    
    If you have questions, suggestions, or comments regarding the 'maxLik' package, please use a forum or 'tracker' at maxLik's R-Forge site:
    https://r-forge.r-project.org/projects/maxlik/
    Loading required package: raster
    
    Attaching package: ‘raster’
    
    The following object is masked from ‘package:maxLik’:
    
     maxValue
    
    Loading required package: pdist
    Loading required package: Matrix
    > data("sim.data")
    > set.seed(15892)
    > xy.sample6 <- discrete.inhibit.sample(obj = sim.data,
    + size = 50, delta = 0.08,plotit = TRUE)
    OGR: Corrupt data
    Error in CPL_area(x) : OGR error
    Calls: discrete.inhibit.sample -> <Anonymous> -> st_area.sfc -> CPL_area
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.2.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘geosample-vignette.Rnw’ using knitr
    Loading required package: sf
    Linking to GEOS 3.7.1, GDAL 2.3.2, PROJ 5.2.0
    Loading required package: sp
    Quitting from lines 269-276 (geosample-vignette.Rnw)
    Error: processing vignette 'geosample-vignette.Rnw' failed with diagnostics:
    OGR error
    --- failed re-building ‘geosample-vignette.Rnw’
    
    SUMMARY: processing the following file failed:
     ‘geosample-vignette.Rnw’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'geosample-vignette.Rnw' using knitr
    Loading required package: sf
    Linking to GEOS 3.6.1, GDAL 2.2.3, PROJ 4.9.3
    Loading required package: sp
    Quitting from lines 269-276 (geosample-vignette.Rnw)
    Error: processing vignette 'geosample-vignette.Rnw' failed with diagnostics:
    OGR error
    --- failed re-building 'geosample-vignette.Rnw'
    
    SUMMARY: processing the following file failed:
     'geosample-vignette.Rnw'
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-release-windows-ix86+x86_64

Version: 0.2.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘geosample-vignette.Rnw’ using knitr
    Loading required package: sf
    Linking to GEOS 3.6.3, GDAL 2.2.4, PROJ 5.2.0
    Loading required package: sp
    Quitting from lines 269-276 (geosample-vignette.Rnw)
    Error: processing vignette 'geosample-vignette.Rnw' failed with diagnostics:
    OGR error
    --- failed re-building ‘geosample-vignette.Rnw’
    
    SUMMARY: processing the following file failed:
     ‘geosample-vignette.Rnw’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.2.1
Check: examples
Result: FAIL
Flavor: r-release-osx-x86_64

Version: 0.2.1
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Loading required package: sf
    Linking to GEOS 3.6.1, GDAL 2.2.3, PROJ 4.9.3
    Loading required package: sp
    Quitting from lines 269-276 (geosample-vignette.Rnw)
    Error: processing vignette 'geosample-vignette.Rnw' failed with diagnostics:
    OGR error
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64