* using log directory 'd:/Rcompile/CRANpkg/local/4.6/DiceView.Rcheck' * using R version 4.6.0 (2026-04-24 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-05-15 04:51:14 UTC * checking for file 'DiceView/DESCRIPTION' ... OK * this is package 'DiceView' version '3.1-3' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'DiceView' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [10s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [2s] ERROR Running examples in 'DiceView-Ex.R' failed The error most likely occurred in: > ### Name: contourview.function > ### Title: Plot a contour view of a prediction model or function, including > ### design points if available. > ### Aliases: contourview.function contourview,function,function-method > ### contourview.matrix contourview,matrix,matrix-method > ### contourview.character contourview,character,character-method > ### contourview.km contourview,km,km-method contourview.Kriging > ### contourview,Kriging,Kriging-method contourview.NuggetKriging > ### contourview,NuggetKriging,NuggetKriging-method > ### contourview.NoiseKriging contourview,NoiseKriging,NoiseKriging-method > ### contourview.glm contourview,glm,glm-method contourview.list > ### contourview,list,list-method contourview > > ### ** Examples > > x1 <- rnorm(15) > x2 <- rnorm(15) > > y <- x1 + x2 + rnorm(15) > model <- lm(y ~ x1 + x2) > > contourview(function(x) sum(x), + Xlim=cbind(range(x1),range(x2)), col='black') > points(x1,x2) > > contourview(function(x) { + x = as.data.frame(x) + colnames(x) <- all.vars(model$call)[-1] + predict.lm(model, newdata=x, se.fit=FALSE) + }, vectorized=TRUE, add=TRUE) > > X = matrix(runif(15*2),ncol=2) > y = apply(X,1,branin) > > contourview(X, y) > > x1 <- rnorm(15) > x2 <- rnorm(15) > > y <- x1 + x2^2 + rnorm(15) > model <- glm(y ~ x1 + I(x2^2)) > > contourview(model) > > contourview("abline(h=0.25,col='red')") Warning in getView(2, TRUE, NA, NA, NA, axis, mfrow) : Xlim ignored when add=TRUE, replaced by: -1.80495862889104,2.40161776050478,-1.52356680042976,1.1780869965732 > if (requireNamespace("DiceKriging")) { library(DiceKriging) + + X = matrix(runif(15*2),ncol=2) + y = apply(X,1,branin) + + model <- km(design = X, response = y, covtype="matern3_2") + + contourview(model) + + } Loading required namespace: DiceKriging Attaching package: 'DiceKriging' The following object is masked from 'package:DiceView': branin optimisation start ------------------ * estimation method : MLE * optimisation method : BFGS * analytical gradient : used * trend model : ~1 * covariance model : - type : matern3_2 - nugget : NO - parameters lower bounds : 1e-10 1e-10 - parameters upper bounds : 1.722538 1.615081 - best initial criterion value(s) : -66.36114 N = 2, M = 5 machine precision = 2.22045e-16 At X0, 0 variables are exactly at the bounds At iterate 0 f= 66.361 |proj g|= 0.68261 At iterate 1 f = 66.307 |proj g|= 0.46706 At iterate 2 f = 66.294 |proj g|= 0.083768 At iterate 3 f = 66.294 |proj g|= 0.016745 At iterate 4 f = 66.294 |proj g|= 0.00062148 At iterate 5 f = 66.294 |proj g|= 5.6081e-05 iterations 5 function evaluations 9 segments explored during Cauchy searches 6 BFGS updates skipped 0 active bounds at final generalized Cauchy point 0 norm of the final projected gradient 5.6081e-05 final function value 66.2936 F = 66.2936 final value 66.293568 converged > > if (requireNamespace("rlibkriging")) { library(rlibkriging) + + X = matrix(runif(15*2),ncol=2) + y = apply(X,1,branin) + + model <- Kriging(X = X, y = y, kernel="matern3_2") + + contourview(model) + + } Loading required namespace: rlibkriging Attaching package: 'rlibkriging' The following object is masked from 'package:DiceKriging': leaveOneOutFun The following object is masked from 'package:stats': kernel The following objects are masked from 'package:base': beta, load, save > > if (requireNamespace("rlibkriging")) { library(rlibkriging) + + X = matrix(runif(15*2),ncol=2) + y = apply(X,1,branin) + 5*rnorm(15) + + model <- NuggetKriging(X = X, y = y, kernel="matern3_2") + + contourview(model) + + } Error in NuggetKriging(X = X, y = y, kernel = "matern3_2") : could not find function "NuggetKriging" Execution halted * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [8s] OK * DONE Status: 1 ERROR