CRAN Package Check Results for Package DiceOptim

Last updated on 2020-12-05 05:48:12 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.1 11.09 70.59 81.68 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.1 7.79 53.84 61.63 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.1 106.17 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0.1 92.10 ERROR
r-devel-windows-ix86+x86_64 2.0.1 18.00 115.00 133.00 ERROR
r-patched-linux-x86_64 2.0.1 9.73 76.03 85.76 OK
r-patched-solaris-x86 2.0.1 129.80 OK
r-release-linux-x86_64 2.0.1 10.94 76.37 87.31 OK
r-release-macos-x86_64 2.0.1 OK
r-release-windows-ix86+x86_64 2.0.1 16.00 133.00 149.00 OK
r-oldrel-macos-x86_64 2.0.1 OK
r-oldrel-windows-ix86+x86_64 2.0.1 17.00 114.00 131.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