CRAN Package Check Results for Package CEGO

Last updated on 2022-01-22 22:52:05 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.4.2 12.85 100.74 113.59 OK
r-devel-linux-x86_64-debian-gcc 2.4.2 9.53 76.62 86.15 OK
r-devel-linux-x86_64-fedora-clang 2.4.2 140.80 OK
r-devel-linux-x86_64-fedora-gcc 2.4.2 129.52 OK
r-devel-windows-x86_64-new-UL 2.4.2 96.00 133.00 229.00 OK
r-devel-windows-x86_64-new-TK 2.4.2 ERROR
r-patched-linux-x86_64 2.4.2 14.81 98.16 112.97 OK
r-release-linux-x86_64 2.4.2 14.13 97.64 111.77 OK
r-release-macos-arm64 2.4.2 OK
r-release-macos-x86_64 2.4.2 OK
r-release-windows-ix86+x86_64 2.4.2 29.00 160.00 189.00 OK
r-oldrel-macos-x86_64 2.4.2 OK
r-oldrel-windows-ix86+x86_64 2.4.2 30.00 162.00 192.00 OK

Check Details

Version: 2.4.2
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'nloptr'
Flavor: r-devel-windows-x86_64-new-TK

Version: 2.4.2
Check: examples
Result: ERROR
    Running examples in 'CEGO-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: createSimulatedTestFunction
    > ### Title: Simulation-based Test Function Generator, Object Interface
    > ### Aliases: createSimulatedTestFunction
    >
    > ### ** Examples
    >
    > nsim <- 10
    > seed <- 12345
    > n <- 6
    > set.seed(seed)
    > #target function:
    > fun <- function(x){
    + exp(-20* x) + sin(6*x^2) + x
    + }
    > # "vectorize" target
    > f <- function(x){sapply(x,fun)}
    > # distance function
    > dF <- function(x,y)(sum((x-y)^2)) #sum of squares
    > #start pdf creation
    > # plot params
    > par(mfrow=c(4,1),mar=c(2.3,2.5,0.2,0.2),mgp=c(1.4,0.5,0))
    > #test samples for plots
    > xtest <- as.list(seq(from=-0,by=0.005,to=1))
    > plot(xtest,f(xtest),type="l",xlab="x",ylab="Obj. function")
    > #evaluation samples (training)
    > xb <- as.list(runif(n))
    > yb <- f(xb)
    > # support samples for simulation
    > x <- as.list(sort(c(runif(100),unlist(xb))))
    > # fit the model
    > fit <- modelKriging(xb,yb,dF,control=list(
    + algThetaControl=list(method="NLOPT_GN_DIRECT_L",funEvals=100),useLambda=FALSE))
    Error in loadNamespace(x) : there is no package called 'nloptr'
    Calls: modelKriging ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
    Execution halted
Flavor: r-devel-windows-x86_64-new-TK