CRAN Package Check Results for Package DiceOptim

Last updated on 2020-12-10 17:48:16 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.1 9.20 69.33 78.53 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.1 8.68 53.68 62.36 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.1 103.70 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0.1 92.58 ERROR
r-devel-windows-ix86+x86_64 2.0.1 19.00 121.00 140.00 ERROR
r-patched-linux-x86_64 2.0.1 9.01 77.24 86.25 OK
r-patched-solaris-x86 2.0.1 129.80 OK
r-release-linux-x86_64 2.0.1 9.74 75.21 84.95 OK
r-release-macos-x86_64 2.0.1 OK
r-release-windows-ix86+x86_64 2.0.1 19.00 144.00 163.00 OK
r-oldrel-macos-x86_64 2.0.1 OK
r-oldrel-windows-ix86+x86_64 2.0.1 33.00 139.00 172.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