CRAN Package Check Results for Package ARCokrig

Last updated on 2020-12-02 05:47:59 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 97.75 63.94 161.69 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 55.93 51.19 107.12 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 196.80 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 178.46 OK
r-devel-windows-ix86+x86_64 0.1.1 152.00 118.00 270.00 OK
r-patched-linux-x86_64 0.1.1 60.06 63.09 123.15 OK
r-patched-solaris-x86 0.1.1 167.70 OK
r-release-linux-x86_64 0.1.1 64.47 63.22 127.69 OK
r-release-macos-x86_64 0.1.1 NOTE
r-release-windows-ix86+x86_64 0.1.1 111.00 91.00 202.00 OK
r-oldrel-macos-x86_64 0.1.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1.1 131.00 103.00 234.00 ERROR

Check Details

Version: 0.1.1
Check: installed package size
Result: NOTE
     installed size is 16.9Mb
     sub-directories of 1Mb or more:
     libs 16.7Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.1
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'ARCokrig-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: ARCokrig
    > ### Title: Fit the AR-Cokriging model and make predictions
    > ### Aliases: ARCokrig
    >
    > ### ** Examples
    >
    >
    > ##############################################################
    > ##############################################################
    > ############ Example
    > Funcc = function(x){
    + return(0.5*(6*x-2)^2*sin(12*x-4)+10*(x-0.5)-5)
    + }
    >
    > Funcf = function(x){
    + z1 = Funcc(x)
    + z2 = 2*z1-20*x+20 + sin(10*cos(5*x))
    + return(z2)
    + }
    >
    > #####################################################################
    > ###### Nested design
    > #####################################################################
    > Dc <- seq(-1,1,0.1)
    > indDf <- c(1, 3, 6, 8, 10, 13, 17, 21)
    > zc <- Funcc(Dc)
    > Df <- Dc[indDf]
    > zf <- Funcf(Df)
    >
    > input.new = as.matrix(seq(-1,1,length.out=200))
    >
    >
    > ## fit and predict with the AR-Cokriging model
    >
    > out = ARCokrig(formula=list(~1,~1+x1), output=list(c(zc), c(zf)),
    + input=list(as.matrix(Dc), as.matrix(Df)),
    + cov.model="matern_5_2",
    + input.new=input.new)
    [1] "optimization error, skip t=1"
    [1] "Error in chol.default(R) : \n the leading minor of order 2 is not positive definite\n"
    attr(,"class")
    [1] "try-error"
    attr(,"condition")
    <simpleError in chol.default(R): the leading minor of order 2 is not positive definite>
    [1] "optimization error, skip t=2"
    [1] "Error in chol.default(R) : \n the leading minor of order 2 is not positive definite\n"
    attr(,"class")
    [1] "try-error"
    attr(,"condition")
    <simpleError in chol.default(R): the leading minor of order 2 is not positive definite>
    Error in chol.default(R) :
     the leading minor of order 2 is not positive definite
    Calls: ARCokrig -> cokm.predict -> chol -> chol.default
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.1.1
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'ARCokrig-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: ARCokrig
    > ### Title: Fit the AR-Cokriging model and make predictions
    > ### Aliases: ARCokrig
    >
    > ### ** Examples
    >
    >
    > ##############################################################
    > ##############################################################
    > ############ Example
    > Funcc = function(x){
    + return(0.5*(6*x-2)^2*sin(12*x-4)+10*(x-0.5)-5)
    + }
    >
    > Funcf = function(x){
    + z1 = Funcc(x)
    + z2 = 2*z1-20*x+20 + sin(10*cos(5*x))
    + return(z2)
    + }
    >
    > #####################################################################
    > ###### Nested design
    > #####################################################################
    > Dc <- seq(-1,1,0.1)
    > indDf <- c(1, 3, 6, 8, 10, 13, 17, 21)
    > zc <- Funcc(Dc)
    > Df <- Dc[indDf]
    > zf <- Funcf(Df)
    >
    > input.new = as.matrix(seq(-1,1,length.out=200))
    >
    >
    > ## fit and predict with the AR-Cokriging model
    >
    > out = ARCokrig(formula=list(~1,~1+x1), output=list(c(zc), c(zf)),
    + input=list(as.matrix(Dc), as.matrix(Df)),
    + cov.model="matern_5_2",
    + input.new=input.new)
    [1] "optimization error, skip t=1"
    [1] "Error in chol.default(R) : \n the leading minor of order 2 is not positive definite\n"
    attr(,"class")
    [1] "try-error"
    attr(,"condition")
    <simpleError in chol.default(R): the leading minor of order 2 is not positive definite>
    [1] "optimization error, skip t=2"
    [1] "Error in chol.default(R) : \n the leading minor of order 2 is not positive definite\n"
    attr(,"class")
    [1] "try-error"
    attr(,"condition")
    <simpleError in chol.default(R): the leading minor of order 2 is not positive definite>
    Error in chol.default(R) :
     the leading minor of order 2 is not positive definite
    Calls: ARCokrig -> cokm.predict -> chol -> chol.default
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.1.1
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [2s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(ARCokrig)
     >
     > test_check("ARCokrig")
     [1] "optimization error, skip t=1"
     [1] "Error in chol.default(R) : \n the leading minor of order 2 is not positive definite\n"
     attr(,"class")
     [1] "try-error"
     attr(,"condition")
     <simpleError in chol.default(R): the leading minor of order 2 is not positive definite>
     [1] "optimization error, skip t=2"
     [1] "Error in chol.default(R) : \n the leading minor of order 2 is not positive definite\n"
     attr(,"class")
     [1] "try-error"
     attr(,"condition")
     <simpleError in chol.default(R): the leading minor of order 2 is not positive definite>
     -- ERROR (test_ARCokrig.R:28:1): (code run outside of `test_that()`) -----------
     Error: the leading minor of order 2 is not positive definite
     Backtrace:
     x
     1. \-ARCokrig::cokm.predict(obj, input.new) test_ARCokrig.R:28:0
     2. +-base::chol(R)
     3. \-base::chol.default(R)
    
     == testthat results ===========================================================
     ERROR (test_ARCokrig.R:28:1): (code run outside of `test_that()`)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.1.1
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [2s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(ARCokrig)
     >
     > test_check("ARCokrig")
     [1] "optimization error, skip t=1"
     [1] "Error in chol.default(R) : \n the leading minor of order 2 is not positive definite\n"
     attr(,"class")
     [1] "try-error"
     attr(,"condition")
     <simpleError in chol.default(R): the leading minor of order 2 is not positive definite>
     [1] "optimization error, skip t=2"
     [1] "Error in chol.default(R) : \n the leading minor of order 2 is not positive definite\n"
     attr(,"class")
     [1] "try-error"
     attr(,"condition")
     <simpleError in chol.default(R): the leading minor of order 2 is not positive definite>
     -- ERROR (test_ARCokrig.R:28:1): (code run outside of `test_that()`) -----------
     Error: the leading minor of order 2 is not positive definite
     Backtrace:
     x
     1. \-ARCokrig::cokm.predict(obj, input.new) test_ARCokrig.R:28:0
     2. +-base::chol(R)
     3. \-base::chol.default(R)
    
     == testthat results ===========================================================
     ERROR (test_ARCokrig.R:28:1): (code run outside of `test_that()`)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64