CRAN Package Check Results for Package isoband

Last updated on 2020-12-31 00:46:46 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.3 39.34 46.62 85.96 OK
r-devel-linux-x86_64-debian-gcc 0.2.3 36.48 35.34 71.82 OK
r-devel-linux-x86_64-fedora-clang 0.2.3 126.29 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.3 122.57 OK
r-devel-windows-ix86+x86_64 0.2.3 98.00 101.00 199.00 NOTE
r-patched-linux-x86_64 0.2.3 40.23 44.34 84.57 OK
r-patched-solaris-x86 0.2.3 115.10 ERROR
r-release-linux-x86_64 0.2.3 38.05 44.03 82.08 OK
r-release-macos-x86_64 0.2.3 NOTE
r-release-windows-ix86+x86_64 0.2.3 100.00 76.00 176.00 NOTE
r-oldrel-macos-x86_64 0.2.3 NOTE
r-oldrel-windows-ix86+x86_64 0.2.3 66.00 75.00 141.00 OK

Check Details

Version: 0.2.3
Check: installed package size
Result: NOTE
     installed size is 9.1Mb
     sub-directories of 1Mb or more:
     doc 1.1Mb
     libs 6.8Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64

Version: 0.2.3
Check: examples
Result: ERROR
    Running examples in ‘isoband-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: iso_to_sfg
    > ### Title: Convert isolines or isobands to sfg object
    > ### Aliases: iso_to_sfg
    >
    > ### ** Examples
    >
    > library(sf)
    Linking to GEOS 3.6.4, GDAL 2.2.4, PROJ 5.2.0
    > library(ggplot2)
    >
    > # Example 1: simple 5x5 matrix
    > m <- matrix(c(0, 2, 2, 2, 0,
    + 0, 1, 0, 1, 0,
    + 0, 1, 0, 0, 0,
    + 0, 1, 0, 1, 0,
    + 0, 0, 0, 0, 0), 5, 5, byrow = TRUE)
    >
    > z <- isolines(1:ncol(m), nrow(m):1, m, c(0.5, 1.5))
    > lines <- iso_to_sfg(z)
    > x <- st_sf(level = names(lines), geometry = st_sfc(lines))
    > ggplot(x) + geom_sf(aes(color = level))
    >
    > # Example 2: volcano dataset
    > m <- volcano
    > b <- isobands((1:ncol(m))/(ncol(m)+1), (nrow(m):1)/(nrow(m)+1), m,
    + 10*9:19, 10*10:20)
    > bands <- iso_to_sfg(b)
    > x <- st_sf(level = as.numeric(sub(":.*", "", names(bands))), geometry = st_sfc(bands))
    > ggplot(x) + geom_sf(aes(color = level, fill = level))
    >
    > # Example 3: invalid simple features
    > m <- matrix(c(1.5, 1.5, 1.5, 1.5, 0.6,
    + 0.5, 1.5, 1.5, 0, 0,
    + 0, 1, 0, 1, 1,
    + 0, 1, 0, 0.7, 0,
    + 0.9, 1.3, 1.8, 1.4, 0.4), 5, 5, byrow = TRUE)
    >
    > raw <- isobands(1:5, 5:1, m, levels_low = 0:1, levels_high = 1:2)
    > bands <- iso_to_sfg(raw)
    >
    > iso <- st_sf(
    + id = factor(1:length(bands)),
    + geometry = st_sfc(bands)
    + )
    >
    > # the geometries are not valid
    > st_is_valid(iso, reason = TRUE)
    [1] "Self-intersection[2 2]"
    [2] "Too few points in geometry component[4 3]"
    > # this doesn't prevent us from plotting them
    > ggplot(iso, aes(fill = id)) + geom_sf()
    >
    > # make all geometries valid
    > iso2 <- st_make_valid(iso)
    Error in st_make_valid.sfc(st_geometry(x)) :
     lwgeom required: install that first
    Calls: st_make_valid ... st_set_geometry -> st_make_valid -> st_make_valid.sfc
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.2.3
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘isoband1.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    --- finished re-building ‘isoband1.Rmd’
    
    --- re-building ‘isoband2.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 139-141 (isoband2.Rmd)
    Error: processing vignette 'isoband2.Rmd' failed with diagnostics:
    lwgeom required: install that first
    --- failed re-building ‘isoband2.Rmd’
    
    --- re-building ‘isoband3.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    --- finished re-building ‘isoband3.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘isoband2.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86