CRAN Package Check Results for Package ARCokrig

Last updated on 2020-08-07 01:49:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 72.38 63.96 136.34 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 61.04 48.45 109.49 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 184.11 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 191.05 OK
r-devel-windows-ix86+x86_64 0.1.1 170.00 135.00 305.00 OK
r-patched-linux-x86_64 0.1.1 72.06 62.55 134.61 OK
r-patched-solaris-x86 0.1.1 155.60 OK
r-release-linux-x86_64 0.1.1 64.79 63.06 127.85 OK
r-release-macos-x86_64 0.1.1 NOTE
r-release-windows-ix86+x86_64 0.1.1 167.00 106.00 273.00 OK
r-oldrel-macos-x86_64 0.1.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1.1 100.00 104.00 204.00 ERROR

Check Details

Version: 0.1.1
Check: installed package size
Result: NOTE
     installed size is 17.3Mb
     sub-directories of 1Mb or more:
     libs 17.0Mb
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>
     -- 1. Error: (unknown) (@test_ARCokrig.R#28) ----------------------------------
     the leading minor of order 2 is not positive definite
     Backtrace:
     1. ARCokrig::cokm.predict(obj, input.new)
     3. base::chol.default(R)
    
     == testthat results ===========================================================
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_ARCokrig.R#28)
    
     Error: testthat unit tests failed
     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>
     -- 1. Error: (unknown) (@test_ARCokrig.R#28) ----------------------------------
     the leading minor of order 2 is not positive definite
     Backtrace:
     1. ARCokrig::cokm.predict(obj, input.new)
     3. base::chol.default(R)
    
     == testthat results ===========================================================
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_ARCokrig.R#28)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64