CRAN Package Check Results for Package polyCub

Last updated on 2020-03-29 15:51:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.1 OK
r-devel-linux-x86_64-debian-gcc 0.7.1 4.32 41.60 45.92 OK
r-devel-linux-x86_64-fedora-clang 0.7.1 70.24 OK
r-devel-linux-x86_64-fedora-gcc 0.7.1 69.67 OK
r-devel-windows-ix86+x86_64 0.7.1 12.00 80.00 92.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.7.1 13.00 97.00 110.00 OK
r-patched-linux-x86_64 0.7.1 5.34 51.35 56.69 OK
r-patched-solaris-x86 0.7.1 113.70 OK
r-release-linux-x86_64 0.7.1 4.41 48.42 52.83 OK
r-release-windows-ix86+x86_64 0.7.1 36.00 122.00 158.00 OK
r-release-osx-x86_64 0.7.1 OK
r-oldrel-windows-ix86+x86_64 0.7.1 13.00 121.00 134.00 OK
r-oldrel-osx-x86_64 0.7.1 OK

Check Details

Version: 0.7.1
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'polyCub-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: polyCub.exact.Gauss
    > ### Title: Quasi-Exact Cubature of the Bivariate Normal Density
    > ### Aliases: polyCub.exact.Gauss
    > ### Keywords: math spatial
    >
    > ### ** Examples
    >
    > ## a function to integrate (here: isotropic zero-mean Gaussian density)
    > f <- function (s, sigma = 5)
    + exp(-rowSums(s^2)/2/sigma^2) / (2*pi*sigma^2)
    >
    > ## a simple polygon as integration domain
    > hexagon <- list(
    + list(x = c(7.33, 7.33, 3, -1.33, -1.33, 3),
    + y = c(-0.5, 4.5, 7, 4.5, -0.5, -3))
    + )
    >
    > ## quasi-exact integration based on gpclib::tristrip() and mvtnorm::pmvnorm()
    > if (requireNamespace("mvtnorm") && gpclibPermit()) {
    + hexagon.gpc <- new("gpc.poly", pts = lapply(hexagon, c, list(hole = FALSE)))
    + plotpolyf(hexagon.gpc, f, xlim = c(-8,8), ylim = c(-8,8))
    + print(polyCub.exact.Gauss(hexagon.gpc, mean = c(0,0), Sigma = 5^2*diag(2),
    + plot = TRUE), digits = 16)
    + }
    Error in as.double(y) :
     cannot coerce type 'S4' to vector of type 'double'
    Calls: print ... polyCub.exact.Gauss -> plot -> plot -> plot.default -> xy.coords
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.7.1
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'polyCub-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: polyCub.exact.Gauss
    > ### Title: Quasi-Exact Cubature of the Bivariate Normal Density
    > ### Aliases: polyCub.exact.Gauss
    > ### Keywords: math spatial
    >
    > ### ** Examples
    >
    > ## a function to integrate (here: isotropic zero-mean Gaussian density)
    > f <- function (s, sigma = 5)
    + exp(-rowSums(s^2)/2/sigma^2) / (2*pi*sigma^2)
    >
    > ## a simple polygon as integration domain
    > hexagon <- list(
    + list(x = c(7.33, 7.33, 3, -1.33, -1.33, 3),
    + y = c(-0.5, 4.5, 7, 4.5, -0.5, -3))
    + )
    >
    > ## quasi-exact integration based on gpclib::tristrip() and mvtnorm::pmvnorm()
    > if (requireNamespace("mvtnorm") && gpclibPermit()) {
    + hexagon.gpc <- new("gpc.poly", pts = lapply(hexagon, c, list(hole = FALSE)))
    + plotpolyf(hexagon.gpc, f, xlim = c(-8,8), ylim = c(-8,8))
    + print(polyCub.exact.Gauss(hexagon.gpc, mean = c(0,0), Sigma = 5^2*diag(2),
    + plot = TRUE), digits = 16)
    + }
    Error in as.double(y) :
     cannot coerce type 'S4' to vector of type 'double'
    Calls: print ... polyCub.exact.Gauss -> plot -> plot -> plot.default -> xy.coords
    Execution halted
Flavor: r-devel-windows-ix86+x86_64