CRAN Package Check Results for Maintainer ‘Tomislav Hengl <tom.hengl at opengeohub.org>’

Last updated on 2020-08-07 01:50:35 CEST.

Package ERROR NOTE OK
GSIF 1 7 4
plotKML 4 8

Package GSIF

Current CRAN status: ERROR: 1, NOTE: 7, OK: 4

Version: 0.5-5.1
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'SDMTools'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-x86_64

Version: 0.5-5.1
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     'ORCDRC.txt'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.5-5.1
Check: examples
Result: ERROR
    Running examples in ‘GSIF-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: SoilGrids-class
    > ### Title: A class for SoilGrids - soil property and/or class maps
    > ### Aliases: SoilGrids-class SoilGrids
    > ### Keywords: classes
    >
    > ### ** Examples
    >
    > # load soil samples from the plotKML package:
    > library(plotKML)
    plotKML version 0.6-1 (2020-03-08)
    URL: http://plotkml.r-forge.r-project.org/
    > library(aqp)
    This is aqp 1.19
    
    Attaching package: ‘aqp’
    
    The following object is masked from ‘package:base’:
    
     union
    
    > library(plyr)
    > library(splines)
    > library(rgdal)
    Loading required package: sp
    rgdal: version: 1.5-15, (SVN revision 1045)
    Geospatial Data Abstraction Library extensions to R successfully loaded
    Loaded GDAL runtime: GDAL 2.2.4, released 2018/03/19
    Path to GDAL shared files: /usr/local/share/gdal
    GDAL binary built with GEOS: TRUE
    Loaded PROJ runtime: Rel. 5.2.0, September 15th, 2018, [PJ_VERSION: 520]
    Path to PROJ shared files: (autodetected)
    Linking to sp version:1.4-2
    > library(raster)
    
    Attaching package: ‘raster’
    
    The following objects are masked from ‘package:aqp’:
    
     metadata, metadata<-
    
    >
    > data(eberg)
    > ## subset data to 10%:
    > eberg <- eberg[runif(nrow(eberg)) < .1,]
    > ## sites table:
    > s.lst <- c("ID", "soiltype", "TAXGRSC", "X", "Y")
    > h.lst <- c("UHDICM","LHDICM","SNDMHT","SLTMHT","CLYMHT")
    > sites <- eberg[,s.lst]
    > ## get horizons table:
    > horizons <- getHorizons(eberg, idcol="ID", sel=h.lst)
    > ## create object of type "SoilProfileCollection"
    > eberg.spc <- join(horizons, sites, type='inner')
    Joining by: ID
    > depths(eberg.spc) <- ID ~ UHDICM + LHDICM
    Warning: converting IDs from factor to character
    > site(eberg.spc) <- as.formula(paste("~", paste(s.lst[-1], collapse="+"), sep=""))
    > coordinates(eberg.spc) <- ~X+Y
    > proj4string(eberg.spc) <- CRS("+init=epsg:31467")
    > ## convert to logits:
    > eberg.spc@horizons$SNDMHT.t <- log((eberg.spc@horizons$SNDMHT/100)/
    + (1-eberg.spc@horizons$SNDMHT/100))
    > ## convert to geosamples:
    > eberg.geo <- as.geosamples(eberg.spc)
    Reprojecting to +init=epsg:4326 +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 ...
    Warning in wkt(obj) : CRS object has no comment
    Warning in wkt(CRS(tg)) : CRS object has no comment
    Error in project(t(bbox(obj))[, 1:2], tg, inv = TRUE, use_aoi = FALSE) :
     is.character(proj) is not TRUE
    Calls: as.geosamples ... spTransform -> spTransform -> get_aoi -> project -> stopifnot
    Execution halted
Flavor: r-patched-solaris-x86

Package plotKML

Current CRAN status: ERROR: 4, OK: 8

Version: 0.6-1
Check: examples
Result: ERROR
    Running examples in ‘plotKML-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: kml_layer.SpatialLines
    > ### Title: Writes spatial lines to KML
    > ### Aliases: kml_layer.SpatialLines SpatialLines
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    > library(rgdal)
    Loading required package: sp
    rgdal: version: 1.5-15, (SVN revision 1045)
    Geospatial Data Abstraction Library extensions to R successfully loaded
    Loaded GDAL runtime: GDAL 3.0.4, released 2020/01/28
    Path to GDAL shared files: /usr/share/gdal
    GDAL binary built with GEOS: TRUE
    Loaded PROJ runtime: Rel. 6.3.2, May 1st, 2020, [PJ_VERSION: 632]
    Path to PROJ shared files: /usr/share/proj
    Linking to sp version:1.4-2
    To mute warnings of possible GDAL/OSR exportToProj4() degradation,
    use options("rgdal_show_exportToProj4_warnings"="none") before loading rgdal.
    > library(sp)
    > data(eberg_contours)
    > data(SAGA_pal)
    > names(eberg_contours)
    [1] "ID" "Z"
    > # KML plot with elevations used as 'colour' argument:
    > kml.file = paste0(tempdir(), "/eberg_contours.kml")
    > kml(eberg_contours, file.name = kml.file,
    + colour_scale = SAGA_pal[[1]], colour = Z)
    KML file opened for writing...
    Reprojecting to +proj=longlat +datum=WGS84 +no_defs ...
    Warning in spTransform(xSP, CRSobj, ...) :
     NULL source CRS comment, falling back to PROJ string
    Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
    Warning in wkt(obj) : CRS object has no comment
    Warning in showSRID(uprojargs, format = "PROJ", multiline = "NO") :
     Discarded datum Deutsches_Hauptdreiecksnetz in CRS definition,
     but +towgs84= values preserved
    Error in project(t(bbox(obj))[, 1:2], tg, inv = TRUE, use_aoi = FALSE) :
     coordinate operation creation failed: generic error of unknown origin
    Calls: kml ... spTransform -> spTransform -> spTransform -> get_aoi -> project
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.6-1
Check: examples
Result: ERROR
    Running examples in ‘plotKML-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: check_projection
    > ### Title: Extracts the proj4 parameters and checks if the projection
    > ### matches the referent CRS
    > ### Aliases: check_projection parse_proj4 extractProjValue
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    > data(eberg)
    > library(sp)
    > library(rgdal)
    rgdal: version: 1.5-15, (SVN revision 1045)
    Geospatial Data Abstraction Library extensions to R successfully loaded
    Loaded GDAL runtime: GDAL 2.2.4, released 2018/03/19
    Path to GDAL shared files: /usr/local/share/gdal
    GDAL binary built with GEOS: TRUE
    Loaded PROJ runtime: Rel. 5.2.0, September 15th, 2018, [PJ_VERSION: 520]
    Path to PROJ shared files: (autodetected)
    Linking to sp version:1.4-2
    > coordinates(eberg) <- ~X+Y
    > proj4string(eberg) <- CRS("+init=epsg:31467")
    > check_projection(eberg)
    [1] FALSE
    > # not yet ready for export to KML;
    > parse_proj4(proj4string(eberg))
     init proj datum no_defs ellps towgs84
    "epsg:31467" "tmerc" "potsdam" NA "bessel" NA
    > eberg.geo <- reproject(eberg)
    Reprojecting to +init=epsg:4326 +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 ...
    Warning in wkt(obj) : CRS object has no comment
    Warning in wkt(CRS(tg)) : CRS object has no comment
    Error in project(t(bbox(obj))[, 1:2], tg, inv = TRUE, use_aoi = FALSE) :
     is.character(proj) is not TRUE
    Calls: reproject ... spTransform -> spTransform -> get_aoi -> project -> stopifnot
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.6-1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘jss1079.Rnw’ using Sweave
    Loading required package: gstat
    Loading required package: raster
    Loading required package: sp
    Loading required package: plotKML
    plotKML version 0.6-1 (2020-03-08)
    URL: http://plotkml.r-forge.r-project.org/
    Loading required package: GSIF
    GSIF version 0.5-5.1 (2019-01-04)
    URL: http://gsif.r-forge.r-project.org/
    Reprojecting to +init=epsg:4326 +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 ...
    Warning in wkt(obj) : CRS object has no comment
    Warning in wkt(CRS(tg)) : CRS object has no comment
    
    Error: processing vignette 'jss1079.Rnw' failed with diagnostics:
     chunk 7
    Error in project(t(bbox(obj))[, 1:2], tg, inv = TRUE, use_aoi = FALSE) :
     is.character(proj) is not TRUE
    
    --- failed re-building 'jss1079.Rnw'
    
    SUMMARY: processing the following file failed:
     'jss1079.Rnw'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.6-1
Check: examples
Result: ERROR
    Running examples in 'plotKML-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: kml_layer.SpatialLines
    > ### Title: Writes spatial lines to KML
    > ### Aliases: kml_layer.SpatialLines SpatialLines
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    > library(rgdal)
    Loading required package: sp
    rgdal: version: 1.5-15, (SVN revision 1045)
    Geospatial Data Abstraction Library extensions to R successfully loaded
    Loaded GDAL runtime: GDAL 3.0.4, released 2020/01/28
    Path to GDAL shared files: D:/temp/RtmpgLCKoa/RLIBS_452c22cb619f/rgdal/gdal
    GDAL binary built with GEOS: TRUE
    Loaded PROJ runtime: Rel. 6.3.1, February 10th, 2020, [PJ_VERSION: 631]
    Path to PROJ shared files: D:/temp/RtmpgLCKoa/RLIBS_452c22cb619f/rgdal/proj
    Linking to sp version:1.4-2
    To mute warnings of possible GDAL/OSR exportToProj4() degradation,
    use options("rgdal_show_exportToProj4_warnings"="none") before loading rgdal.
    > library(sp)
    > data(eberg_contours)
    > data(SAGA_pal)
    > names(eberg_contours)
    [1] "ID" "Z"
    > # KML plot with elevations used as 'colour' argument:
    > kml.file = paste0(tempdir(), "/eberg_contours.kml")
    > kml(eberg_contours, file.name = kml.file,
    + colour_scale = SAGA_pal[[1]], colour = Z)
    KML file opened for writing...
    Reprojecting to +proj=longlat +datum=WGS84 +no_defs ...
    Warning in spTransform(xSP, CRSobj, ...) :
     NULL source CRS comment, falling back to PROJ string
    Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
    Warning in wkt(obj) : CRS object has no comment
    Warning in showSRID(uprojargs, format = "PROJ", multiline = "NO") :
     Discarded datum Deutsches_Hauptdreiecksnetz in CRS definition,
     but +towgs84= values preserved
    Error in project(t(bbox(obj))[, 1:2], tg, inv = TRUE, use_aoi = FALSE) :
     coordinate operation creation failed: generic error of unknown origin
    Calls: kml ... spTransform -> spTransform -> spTransform -> get_aoi -> project
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64