CRAN Package Check Results for Package DiceOptim

Last updated on 2020-11-27 19:48:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.1 12.02 71.64 83.66 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.1 7.81 54.00 61.81 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.1 101.64 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0.1 103.06 ERROR
r-devel-windows-ix86+x86_64 2.0.1 19.00 108.00 127.00 ERROR
r-patched-linux-x86_64 2.0.1 12.19 77.22 89.41 OK
r-patched-solaris-x86 2.0.1 129.80 OK
r-release-linux-x86_64 2.0.1 12.03 78.41 90.44 OK
r-release-macos-x86_64 2.0.1 OK
r-release-windows-ix86+x86_64 2.0.1 19.00 115.00 134.00 OK
r-oldrel-macos-x86_64 2.0.1 OK
r-oldrel-windows-ix86+x86_64 2.0.1 19.00 134.00 153.00 OK

Check Details

Version: 2.0.1
Check: examples
Result: ERROR
    Running examples in 'DiceOptim-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: max_qEI
    > ### Title: Maximization of multipoint expected improvement criterion (qEI)
    > ### Aliases: max_qEI
    > ### Keywords: optimize
    >
    > ### ** Examples
    >
    >
    >
    >
    > set.seed(000)
    > # 3-points EI maximization.
    > # 9-points factorial design, and the corresponding response
    > d <- 2
    > n <- 9
    > design.fact <- expand.grid(seq(0,1,length=3), seq(0,1,length=3))
    > names(design.fact)<-c("x1", "x2")
    > design.fact <- data.frame(design.fact)
    > names(design.fact)<-c("x1", "x2")
    > response.branin <- apply(design.fact, 1, branin)
    > response.branin <- data.frame(response.branin)
    > names(response.branin) <- "y"
    > lower <- c(0,0)
    > upper <- c(1,1)
    >
    > # number of point in the bacth
    > batchSize <- 3
    >
    > # model identification
    > fitted.model <- km(~1, design=design.fact, response=response.branin,
    + covtype="gauss", control=list(pop.size=50,trace=FALSE), parinit=c(0.5, 0.5))
    >
    > # maximization of qEI
    >
    > # With a multistarted BFGS algorithm
    > maxBFGS <- max_qEI(model = fitted.model, npoints = batchSize, lower = lower, upper = upper,
    + crit = "exact",optimcontrol=list(nStarts=3,method = "BFGS"))
    Error in FUN(newX[, i], ...) : first argument has length > 1
    Calls: max_qEI ... optim -> <Anonymous> -> gr -> krigingDeriv -> apply -> FUN
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0.1
Check: compiled code
Result: NOTE
    File ‘DiceOptim/libs/DiceOptim.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.0.1
Check: examples
Result: ERROR
    Running examples in ‘DiceOptim-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: max_qEI
    > ### Title: Maximization of multipoint expected improvement criterion (qEI)
    > ### Aliases: max_qEI
    > ### Keywords: optimize
    >
    > ### ** Examples
    >
    >
    >
    >
    > set.seed(000)
    > # 3-points EI maximization.
    > # 9-points factorial design, and the corresponding response
    > d <- 2
    > n <- 9
    > design.fact <- expand.grid(seq(0,1,length=3), seq(0,1,length=3))
    > names(design.fact)<-c("x1", "x2")
    > design.fact <- data.frame(design.fact)
    > names(design.fact)<-c("x1", "x2")
    > response.branin <- apply(design.fact, 1, branin)
    > response.branin <- data.frame(response.branin)
    > names(response.branin) <- "y"
    > lower <- c(0,0)
    > upper <- c(1,1)
    >
    > # number of point in the bacth
    > batchSize <- 3
    >
    > # model identification
    > fitted.model <- km(~1, design=design.fact, response=response.branin,
    + covtype="gauss", control=list(pop.size=50,trace=FALSE), parinit=c(0.5, 0.5))
    >
    > # maximization of qEI
    >
    > # With a multistarted BFGS algorithm
    > maxBFGS <- max_qEI(model = fitted.model, npoints = batchSize, lower = lower, upper = upper,
    + crit = "exact",optimcontrol=list(nStarts=3,method = "BFGS"))
    Error in FUN(newX[, i], ...) : first argument has length > 1
    Calls: max_qEI ... optim -> <Anonymous> -> gr -> krigingDeriv -> apply -> FUN
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.0.1
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'DiceOptim-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: max_qEI
    > ### Title: Maximization of multipoint expected improvement criterion (qEI)
    > ### Aliases: max_qEI
    > ### Keywords: optimize
    >
    > ### ** Examples
    >
    >
    >
    >
    > set.seed(000)
    > # 3-points EI maximization.
    > # 9-points factorial design, and the corresponding response
    > d <- 2
    > n <- 9
    > design.fact <- expand.grid(seq(0,1,length=3), seq(0,1,length=3))
    > names(design.fact)<-c("x1", "x2")
    > design.fact <- data.frame(design.fact)
    > names(design.fact)<-c("x1", "x2")
    > response.branin <- apply(design.fact, 1, branin)
    > response.branin <- data.frame(response.branin)
    > names(response.branin) <- "y"
    > lower <- c(0,0)
    > upper <- c(1,1)
    >
    > # number of point in the bacth
    > batchSize <- 3
    >
    > # model identification
    > fitted.model <- km(~1, design=design.fact, response=response.branin,
    + covtype="gauss", control=list(pop.size=50,trace=FALSE), parinit=c(0.5, 0.5))
    >
    > # maximization of qEI
    >
    > # With a multistarted BFGS algorithm
    > maxBFGS <- max_qEI(model = fitted.model, npoints = batchSize, lower = lower, upper = upper,
    + crit = "exact",optimcontrol=list(nStarts=3,method = "BFGS"))
    Error in FUN(newX[, i], ...) : first argument has length > 1
    Calls: max_qEI ... optim -> <Anonymous> -> gr -> krigingDeriv -> apply -> FUN
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 2.0.1
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'DiceOptim-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: max_qEI
    > ### Title: Maximization of multipoint expected improvement criterion (qEI)
    > ### Aliases: max_qEI
    > ### Keywords: optimize
    >
    > ### ** Examples
    >
    >
    >
    >
    > set.seed(000)
    > # 3-points EI maximization.
    > # 9-points factorial design, and the corresponding response
    > d <- 2
    > n <- 9
    > design.fact <- expand.grid(seq(0,1,length=3), seq(0,1,length=3))
    > names(design.fact)<-c("x1", "x2")
    > design.fact <- data.frame(design.fact)
    > names(design.fact)<-c("x1", "x2")
    > response.branin <- apply(design.fact, 1, branin)
    > response.branin <- data.frame(response.branin)
    > names(response.branin) <- "y"
    > lower <- c(0,0)
    > upper <- c(1,1)
    >
    > # number of point in the bacth
    > batchSize <- 3
    >
    > # model identification
    > fitted.model <- km(~1, design=design.fact, response=response.branin,
    + covtype="gauss", control=list(pop.size=50,trace=FALSE), parinit=c(0.5, 0.5))
    >
    > # maximization of qEI
    >
    > # With a multistarted BFGS algorithm
    > maxBFGS <- max_qEI(model = fitted.model, npoints = batchSize, lower = lower, upper = upper,
    + crit = "exact",optimcontrol=list(nStarts=3,method = "BFGS"))
    Error in FUN(newX[, i], ...) : first argument has length > 1
    Calls: max_qEI ... optim -> <Anonymous> -> gr -> krigingDeriv -> apply -> FUN
    Execution halted
Flavor: r-devel-windows-ix86+x86_64