- using R version 4.0.0 (2020-04-24)
- using platform: x86_64-apple-darwin17.0 (64-bit)
- using session charset: UTF-8
- checking for file ‘spatial.tools/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘spatial.tools’ version ‘1.6.2’
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘spatial.tools’ can be installed ... [8s/12s] OK
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [6s/10s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... ERROR
Running examples in ‘spatial.tools-Ex.R’ failed
The error most likely occurred in:
> ### Name: tahoe_highrez_training
> ### Title: Point and polygon files for use with spatial.tools
> ### Aliases: tahoe_highrez_training
> ### Keywords: data
>
> ### ** Examples
>
> library("raster")
Loading required package: sp
> library("rgdal")
rgdal: version: 1.4-8, (SVN revision 845)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 2.4.2, released 2019/06/28
Path to GDAL shared files: /Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.0/rgdal/gdal
GDAL binary built with GEOS: FALSE
Loaded PROJ.4 runtime: Rel. 5.2.0, September 15th, 2018, [PJ_VERSION: 520]
Path to PROJ.4 shared files: /Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.0/rgdal/proj
Linking to sp version: 1.4-1
> tahoe_highrez_training_polygons <- readOGR(
+ dsn=system.file("external", package="spatial.tools"),layer="tahoe_highrez_training")
OGR data source with driver: ESRI Shapefile
Source: "/Volumes/Builds/packages/high-sierra-x86_64/results/4.0/spatial.tools.Rcheck/spatial.tools/external", layer: "tahoe_highrez_training"
with 8 features
It has 2 fields
> spplot(tahoe_highrez_training_polygons,zcol="Class")
Warning in extend.limits(range(as.numeric(z), finite = TRUE)) :
NAs introduced by coercion
Warning in min(x) : no non-missing arguments to min; returning Inf
Warning in max(x) : no non-missing arguments to max; returning -Inf
Error in seq.default(zrng[1], zrng[2], length.out = cuts + 2) :
'from' must be a finite number
Calls: spplot ... <Anonymous> -> levelplot.formula -> seq -> seq.default
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR