CRAN Package Check Results for Package SpatPCA

Last updated on 2021-02-15 07:48:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.3.0 47.98 207.73 255.71 OK
r-devel-linux-x86_64-debian-gcc 1.3.3.0 33.58 154.84 188.42 OK
r-devel-linux-x86_64-fedora-clang 1.3.3.0 333.96 NOTE
r-devel-linux-x86_64-fedora-gcc 1.3.3.0 332.14 OK
r-devel-windows-ix86+x86_64 1.3.3.0 122.00 191.00 313.00 NOTE
r-patched-linux-x86_64 1.3.3.0 40.20 200.29 240.49 OK
r-patched-solaris-x86 1.3.3.0 146.10 ERROR
r-release-linux-x86_64 1.3.3.0 41.12 200.67 241.79 OK
r-release-macos-x86_64 1.3.3.0 NOTE
r-release-windows-ix86+x86_64 1.3.3.0 116.00 185.00 301.00 NOTE
r-oldrel-macos-x86_64 1.3.3.0 NOTE
r-oldrel-windows-ix86+x86_64 1.3.3.0 73.00 143.00 216.00 NOTE

Additional issues

valgrind

Check Details

Version: 1.3.3.0
Check: installed package size
Result: NOTE
     installed size is 7.9Mb
     sub-directories of 1Mb or more:
     doc 3.7Mb
     libs 4.1Mb
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, r-oldrel-windows-ix86+x86_64

Version: 1.3.3.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘gifski’
Flavor: r-patched-solaris-x86

Version: 1.3.3.0
Check: examples
Result: ERROR
    Running examples in ‘SpatPCA-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plot.spatpca
    > ### Title: Display the cross-validation results
    > ### Aliases: plot.spatpca
    >
    > ### ** Examples
    >
    > x_1D <- as.matrix(seq(-5, 5, length = 10))
    > Phi_1D <- exp(-x_1D^2) / norm(exp(-x_1D^2), "F")
    > set.seed(1234)
    > Y_1D <- rnorm(n = 100, sd = 3) %*% t(Phi_1D) + matrix(rnorm(n = 100 * 10), 100, 10)
    > cv_1D <- spatpca(x = x_1D, Y = Y_1D, num_cores = 2)
    
    error: inv_sympd(): matrix is singular or not positive definite
    
    warning: inv_sympd(): given matrix is not symmetric
    
    warning: inv_sympd(): given matrix is not symmetric
    
    warning: inv_sympd(): given matrix is not symmetric
    
    warning: inv_sympd(): given matrix is not symmetric
    
    warning: inv_sympd(): given matrix is not symmetric
    Error in spatpcaCV(x, Y, M, 1, tau1, tau2, gamma, shuffle_split, maxit, :
     inv_sympd(): matrix is singular or not positive definite
    Calls: spatpca -> spatpcaCVWithSelectingK -> spatpcaCV
    Execution halted
Flavor: r-patched-solaris-x86

Version: 1.3.3.0
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(SpatPCA)
    
     Attaching package: 'SpatPCA'
    
     The following object is masked from 'package:stats':
    
     predict
    
     >
     > test_check("SpatPCA")
    
     warning: inv_sympd(): given matrix is not symmetric
    
     warning: inv_sympd(): given matrix is not symmetric
    
     warning: inv_sympd(): given matrix is not symmetric
    
     warning: inv_sympd(): given matrix is not symmetric
    
     warning: inv_sympd(): given matrix is not symmetric
    
     warning: inv_sympd(): given matrix is not symmetric
    
     error: inv_sympd(): matrix is singular or not positive definite
    
     warning: inv_sympd(): given matrix is not symmetric
    
     warning: inv_sympd(): given matrix is not symmetric
    
     warning: inv_sympd(): given matrix is not symmetric
    
     warning: inv_sympd(): given matrix is not symmetric
     The input number of cores is invalid - default is 16Invalid object! Please enter a `spatpca` objectNew locations cannot be NULLInconsistent dimension of locations - original dimension is 1The number of rows of x should be equal to the number of columns of Y.Number of locations must be larger than 2.Dimension of locations must be less than 4.Number of folds must be less than sample size.══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-SpatPCA.R:13:1): (code run outside of `test_that()`) ────────────
     Error: inv_sympd(): matrix is singular or not positive definite
     Backtrace:
     █
     1. └─SpatPCA::spatpca(x = x_1D, Y = Y_1D, num_cores = num_cores) test-SpatPCA.R:13:0
     2. └─SpatPCA::spatpcaCVWithSelectingK(...)
     3. └─SpatPCA::spatpcaCV(...)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 45 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86

Version: 1.3.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘demo-one-dim-location.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.
    Warning in block_exec(params) :
     Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
    Error in loadNamespace(name) : there is no package called 'styler'
    
    
    Attaching package: 'SpatPCA'
    
    The following object is masked from 'package:stats':
    
     predict
    
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Quitting from lines 30-36 (demo-one-dim-location.Rmd)
    Error: processing vignette 'demo-one-dim-location.Rmd' failed with diagnostics:
    there is no package called 'gifski'
    --- failed re-building ‘demo-one-dim-location.Rmd’
    
    --- re-building ‘demo-two-dim-location.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.
    Warning in block_exec(params) :
     Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
    Error in loadNamespace(name) : there is no package called 'styler'
    
    
    Attaching package: 'SpatPCA'
    
    The following object is masked from 'package:stats':
    
     predict
    
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Quitting from lines 30-47 (demo-two-dim-location.Rmd)
    Error: processing vignette 'demo-two-dim-location.Rmd' failed with diagnostics:
    there is no package called 'gifski'
    --- failed re-building ‘demo-two-dim-location.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘demo-one-dim-location.Rmd’ ‘demo-two-dim-location.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86