CRAN Package Check Results for Package SpatMCA

Last updated on 2021-02-08 05:48:46 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2.0 52.29 50.51 102.80 OK
r-devel-linux-x86_64-debian-gcc 1.0.2.0 39.29 38.24 77.53 OK
r-devel-linux-x86_64-fedora-clang 1.0.2.0 147.72 OK
r-devel-linux-x86_64-fedora-gcc 1.0.2.0 135.51 OK
r-devel-windows-ix86+x86_64 1.0.2.0 126.00 99.00 225.00 OK
r-patched-linux-x86_64 1.0.2.0 42.14 48.00 90.14 OK
r-patched-solaris-x86 1.0.2.0 143.20 OK
r-release-linux-x86_64 1.0.2.0 41.93 48.30 90.23 OK
r-release-macos-x86_64 1.0.2.0 ERROR
r-release-windows-ix86+x86_64 1.0.2.0 85.00 110.00 195.00 OK
r-oldrel-macos-x86_64 1.0.2.0 NOTE
r-oldrel-windows-ix86+x86_64 1.0.2.0 72.00 74.00 146.00 OK

Additional issues

MKL

Check Details

Version: 1.0.2.0
Check: installed package size
Result: NOTE
     installed size is 5.1Mb
     sub-directories of 1Mb or more:
     libs 5.0Mb
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 1.0.2.0
Check: examples
Result: ERROR
    Running examples in ‘SpatMCA-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: spatmca
    > ### Title: Regularized spatial MCA
    > ### Aliases: spatmca
    >
    > ### ** Examples
    >
    > originalPar <- par(no.readonly = TRUE)
    > # The following examples only use two threads for parallel computing.
    > ## 1D: regular locations
    > p <- q <- 10
    > n <- 100
    > x1 <- matrix(seq(-7, 7, length = p), nrow = p, ncol = 1)
    > x2 <- matrix(seq(-7, 7, length = q), nrow = q, ncol = 1)
    > u <- exp(-x1^2) / norm(exp(-x1^2), "F")
    > v <- exp(-(x2 - 2)^2) / norm(exp(-(x2 - 2)^2), "F")
    > Sigma <- array(0, c(p + q, p + q))
    > Sigma[1:p, 1:p] <- diag(p)
    > Sigma[(p + 1):(p + q), (p + 1):(p + q)] <- diag(p)
    > Sigma[1:p, (p + 1):(p + q)] <- u %*% t(v)
    > Sigma[(p + 1):(p + q), 1:p] <- t(Sigma[1:p, (p + 1):(p + q)])
    > noise <- MASS::mvrnorm(n, mu = rep(0, p + q), Sigma = 0.001 * diag(p + q))
    > Y <- MASS::mvrnorm(n, mu = rep(0, p + q), Sigma = Sigma) + noise
    > Y1 <- Y[, 1:p]
    > Y2 <- Y[, -(1:p)]
    > cv1 <- spatmca(x1, x2, Y1, Y2, numCores = 2)
    
    error: inv_sympd(): matrix is singular or not positive definite
    
    error: inv_sympd(): matrix is singular or not positive definite
    Error in spatmcacv_rcpp(x1, x2, Y1, Y2, M, 1, tau1u, tau2u, tau1v, tau2v, :
     inv_sympd(): matrix is singular or not positive definite
    Calls: spatmca -> spatmcacv_rcpp
    Execution halted
Flavor: r-release-macos-x86_64

Version: 1.0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/1s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     error: inv_sympd(): matrix is singular or not positive definiteinv_sympd(): matrix is singular or not positive definite
     inv_sympd(): matrix is singular or not positive definite
    
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-spatMCA.R:23:1): (code run outside of `test_that()`) ────────────
     Error: inv_sympd(): matrix is singular or not positive definite
     Backtrace:
     █
     1. └─SpatMCA::spatmca(x1, x2, Y1, Y2, K = 1, plot.cv = TRUE, numCores = numCores) test-spatMCA.R:23:0
     2. └─SpatMCA::spatmcacv_rcpp(...)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ]
     Error: Test failures
     Execution halted
Flavor: r-release-macos-x86_64