* using log directory 'd:/Rcompile/CRANpkg/local/3.4/GPM.Rcheck' * using R version 3.4.4 (2018-03-15) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'GPM/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'GPM' version '2.0.0' * 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 'GPM' 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * loading checks for arch 'i386' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK ** checking loading without being on the library search path ... OK ** checking use of S3 registration ... OK * loading checks for arch 'x64' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK ** checking loading without being on the library search path ... 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 ... [5s] NOTE Predict: possible error in diag(Nug_opt, m, m, names = FALSE): unused argument (names = FALSE) * checking Rd files ... 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 line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking compiled code ... OK * checking examples ... ** running examples for arch 'i386' ... ERROR Running examples in 'GPM-Ex.R' failed The error most likely occurred in: > ### Name: Fit > ### Title: The Fitting Function of 'GPM' Package > ### Aliases: Fit > > ### ** Examples > > # 1D example: Fit a model (with default settings) and evaluate the performance > # by computing the root mean squared error (RMSE) in prediction. > library(lhs) > library(Rcpp) > library(RcppArmadillo) > X <- 5*maximinLHS(9, 1) > Y <- 2*sin(2*X) + log(X+1) > M <- Fit(X, Y) > XF <- matrix(seq(0, 5, length.out = 100), 100, 1) > YF <- Predict(XF, M) > RMSE <- sqrt(mean((YF$YF - (2*sin(2*XF) + log(XF+1)))^2)) > > # 1D example: Fit a model, evaluate the performance, and plot the response > # along with 95% prediction interval > X <- 10*maximinLHS(18, 1) - 5 > Y <- X*cos(X) > M <- Fit(X, Y) > XF <- matrix(seq(-5, 5, length.out = 50), 50, 1) > YF <- Predict(XF, M) > RMSE <- sqrt(mean((YF$YF - (XF*cos(XF)))^2)) > Draw(M, 1, res = 15) Error in diag(Nug_opt, m, m, names = FALSE) : unused argument (names = FALSE) Calls: Draw -> Predict Execution halted ** running examples for arch 'x64' ... ERROR Running examples in 'GPM-Ex.R' failed The error most likely occurred in: > ### Name: Fit > ### Title: The Fitting Function of 'GPM' Package > ### Aliases: Fit > > ### ** Examples > > # 1D example: Fit a model (with default settings) and evaluate the performance > # by computing the root mean squared error (RMSE) in prediction. > library(lhs) > library(Rcpp) > library(RcppArmadillo) > X <- 5*maximinLHS(9, 1) > Y <- 2*sin(2*X) + log(X+1) > M <- Fit(X, Y) > XF <- matrix(seq(0, 5, length.out = 100), 100, 1) > YF <- Predict(XF, M) > RMSE <- sqrt(mean((YF$YF - (2*sin(2*XF) + log(XF+1)))^2)) > > # 1D example: Fit a model, evaluate the performance, and plot the response > # along with 95% prediction interval > X <- 10*maximinLHS(18, 1) - 5 > Y <- X*cos(X) > M <- Fit(X, Y) > XF <- matrix(seq(-5, 5, length.out = 50), 50, 1) > YF <- Predict(XF, M) > RMSE <- sqrt(mean((YF$YF - (XF*cos(XF)))^2)) > Draw(M, 1, res = 15) Error in diag(Nug_opt, m, m, names = FALSE) : unused argument (names = FALSE) Calls: Draw -> Predict Execution halted * checking PDF version of manual ... OK * DONE Status: 2 ERRORs, 1 NOTE