* using log directory ‘/data/localhost/ripley/R/packages/tests-MKL/cvxoptdes.Rcheck’ * using R Under development (unstable) (2026-11-30 r91009) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-11-30 16:33:11 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘cvxoptdes/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘cvxoptdes’ version ‘1.0.1’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘cvxoptdes’ can be installed ... OK * used C compiler: ‘gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)’ * checking package directory ... OK * checking ‘build’ 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 ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in shell scripts ... 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 ... INFO GNU make is a SystemRequirements. * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking include directives in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ...Warning: elapsed-time limit of 30 minutes reached for sub-process [0m/30m] ERROR Running examples in ‘cvxoptdes-Ex.R’ failed The error most likely occurred in: > ### Name: lm_design > ### Title: Penalized linear optimal design > ### Aliases: lm_design > > ### ** Examples > > > ## Getting started > > ## 3 factors w/ 5, 5 and 3 levels > data <- expand.grid( + x1 = -2:2, + x2 = -2:2, + x3 = -1:1 + ) > design <- lm_design$new( + formula = ~(x1 + x2 + x3)^2 + I(x1^2) + I(x2^2) + I(x3^2), ## full quadratic model + data = data ## design points + ) > ## approximate D-optimal design > design$optimize(criterion = "D") [1] 6.447278e-02 1.568120e-10 3.351952e-02 1.570687e-10 6.491353e-02 [6] 1.565501e-10 2.986129e-09 1.491141e-09 2.987606e-09 1.564967e-10 [11] 3.396114e-02 1.494141e-09 3.657221e-03 1.495306e-09 3.307963e-02 [16] 1.566473e-10 2.986726e-09 1.491631e-09 2.988192e-09 1.565888e-10 [21] 6.447191e-02 1.567938e-10 3.352125e-02 1.570461e-10 6.491267e-02 [26] 3.399313e-02 1.601671e-10 3.593364e-03 1.602191e-10 3.311163e-02 [31] 1.578399e-10 3.026232e-09 1.539856e-09 3.025762e-09 1.573699e-10 [36] 2.710130e-03 1.536675e-09 5.840111e-02 1.535878e-09 4.473135e-03 [41] 1.578548e-10 3.026035e-09 1.539548e-09 3.025564e-09 1.573830e-10 [46] 3.399486e-02 1.599922e-10 3.589901e-03 1.600423e-10 3.311336e-02 [51] 6.443995e-02 1.568025e-10 3.358518e-02 1.570642e-10 6.488070e-02 [56] 1.565514e-10 2.986105e-09 1.491130e-09 2.987607e-09 1.564916e-10 [61] 3.402680e-02 1.494074e-09 3.525904e-03 1.495254e-09 3.314529e-02 [66] 1.566402e-10 2.986599e-09 1.491521e-09 2.988112e-09 1.565814e-10 [71] 6.443909e-02 1.567858e-10 3.358691e-02 1.570478e-10 6.487984e-02 attr(,"criterion") attr(,"criterion")$crit.value [1] 1.897913 attr(,"criterion")$crit [1] "D" > ## integer D-optimal design w/ 13 design points > (exact_design <- design$round(m = 13, method = "optimal", seed = 1)) [1] 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 [39] 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 attr(,"criterion") attr(,"criterion")$crit [1] "D" attr(,"criterion")$crit.value [1] 1.84352 attr(,"criterion")$crit.rel.eff [1] 0.9713408 > design$subset(replicates = exact_design) x1 x2 x3 1 -2 -2 -1 3 0 -2 -1 15 2 0 -1 21 -2 2 -1 25 2 2 -1 30 2 -2 0 36 -2 0 0 48 0 2 0 51 -2 -2 1 55 2 -2 1 63 0 0 1 71 -2 2 1 75 2 2 1 > ## integer design covariance and correlation matrices > design$vcov(design_weights = exact_design, sigma2 = 1) (Intercept) x1 x2 x3 (Intercept) 0.721590909 -2.367424e-03 2.367424e-03 4.734848e-03 x1 -0.002367424 2.534835e-02 -5.073052e-05 -1.014610e-04 x2 0.002367424 -5.073052e-05 2.534835e-02 1.014610e-04 x3 0.004734848 -1.014610e-04 1.014610e-04 1.013934e-01 I(x1^2) -0.069839015 7.525027e-04 -8.455087e-06 -1.691017e-05 I(x2^2) -0.069839015 8.455087e-06 -7.525027e-04 -1.691017e-05 I(x3^2) -0.279356061 3.382035e-05 -3.382035e-05 -6.020022e-03 x1:x2 0.011837121 -2.536526e-04 2.536526e-04 3.483496e-03 x1:x3 0.023674242 -5.073052e-04 3.483496e-03 1.014610e-03 x2:x3 -0.023674242 3.483496e-03 -5.073052e-04 -1.014610e-03 I(x1^2) I(x2^2) I(x3^2) x1:x2 (Intercept) -6.983902e-02 -6.983902e-02 -2.793561e-01 1.183712e-02 x1 7.525027e-04 8.455087e-06 3.382035e-05 -2.536526e-04 x2 -8.455087e-06 -7.525027e-04 -3.382035e-05 2.536526e-04 x3 -1.691017e-05 -1.691017e-05 -6.020022e-03 3.483496e-03 I(x1^2) 2.963931e-02 -3.470813e-03 -1.388325e-02 -4.227543e-05 I(x2^2) -3.470813e-03 2.963931e-02 -1.388325e-02 -4.227543e-05 I(x3^2) -1.388325e-02 -1.388325e-02 4.742289e-01 -1.505005e-02 x1:x2 -4.227543e-05 -4.227543e-05 -1.505005e-02 8.708739e-03 x1:x3 -8.455087e-05 -7.525027e-03 -3.382035e-04 2.536526e-03 x2:x3 7.525027e-03 8.455087e-05 3.382035e-04 -2.536526e-03 x1:x3 x2:x3 (Intercept) 2.367424e-02 -2.367424e-02 x1 -5.073052e-04 3.483496e-03 x2 3.483496e-03 -5.073052e-04 x3 1.014610e-03 -1.014610e-03 I(x1^2) -8.455087e-05 7.525027e-03 I(x2^2) -7.525027e-03 8.455087e-05 I(x3^2) -3.382035e-04 3.382035e-04 x1:x2 2.536526e-03 -2.536526e-03 x1:x3 3.483496e-02 -5.073052e-03 x2:x3 -5.073052e-03 3.483496e-02 > design$corr(design_weights = exact_design) x1 x2 x3 I(x1^2) I(x2^2) x1 1.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 9.388899e-18 x2 0.000000e+00 1.000000e+00 0.000000e+00 -2.816670e-17 0.000000e+00 x3 0.000000e+00 0.000000e+00 1.000000e+00 -1.877780e-17 0.000000e+00 I(x1^2) 0.000000e+00 -2.816670e-17 -1.877780e-17 1.000000e+00 1.333333e-01 I(x2^2) 9.388899e-18 0.000000e+00 0.000000e+00 1.333333e-01 1.000000e+00 I(x3^2) 0.000000e+00 0.000000e+00 -1.877780e-17 1.333333e-01 1.333333e-01 x1:x2 0.000000e+00 0.000000e+00 -1.118034e-01 0.000000e+00 0.000000e+00 x1:x3 0.000000e+00 -1.118034e-01 0.000000e+00 0.000000e+00 2.327373e-01 x2:x3 -1.118034e-01 0.000000e+00 0.000000e+00 -2.327373e-01 0.000000e+00 I(x3^2) x1:x2 x1:x3 x2:x3 x1 0.000000e+00 0.0000000 0.0000000 -0.1118034 x2 0.000000e+00 0.0000000 -0.1118034 0.0000000 x3 -1.877780e-17 -0.1118034 0.0000000 0.0000000 I(x1^2) 1.333333e-01 0.0000000 0.0000000 -0.2327373 I(x2^2) 1.333333e-01 0.0000000 0.2327373 0.0000000 I(x3^2) 1.000000e+00 0.2327373 0.0000000 0.0000000 x1:x2 2.327373e-01 1.0000000 -0.1250000 0.1250000 x1:x3 0.000000e+00 -0.1250000 1.0000000 0.1250000 x2:x3 0.000000e+00 0.1250000 0.1250000 1.0000000 > > ## Penalized optimal design > > ## assign cost c = 1 if x3 = 1, and c = 0 otherwise > design$update( + cost = ~pmax(x3, 0), + alpha = 1 + ) > ## penalized approximate D-optimal design > design$optimize(criterion = "D") [1] 7.118028e-02 -2.296628e-11 5.922601e-02 -2.296611e-11 7.118028e-02 [6] -2.296936e-11 -2.309367e-10 -9.414283e-11 -2.309380e-10 -2.296988e-11 [11] 5.922601e-02 -9.412113e-11 1.317241e-04 -9.411960e-11 5.922601e-02 [16] -2.297192e-11 -2.309474e-10 -9.414855e-11 -2.309418e-10 -2.297117e-11 [21] 7.118028e-02 -2.296691e-11 5.922601e-02 -2.296562e-11 7.118028e-02 [26] 5.303391e-02 -1.600852e-11 1.118696e-02 -1.600864e-11 5.303391e-02 [31] -1.601118e-11 -2.604202e-10 -1.284350e-10 -2.604213e-10 -1.601167e-11 [36] 1.118696e-02 -1.284093e-10 7.527525e-02 -1.284081e-10 1.118696e-02 [41] -1.601111e-11 -2.604207e-10 -1.284345e-10 -2.604181e-10 -1.601127e-11 [46] 5.303391e-02 -1.600877e-11 1.118696e-02 -1.600855e-11 5.303391e-02 [51] 3.652110e-02 2.913279e-13 1.838029e-11 2.917298e-13 3.652110e-02 [56] 2.859653e-13 3.653263e-11 2.190174e-10 3.653484e-11 2.864625e-13 [61] 1.837845e-11 2.190377e-10 4.039637e-10 2.190438e-10 1.837881e-11 [66] 2.869619e-13 3.653137e-11 2.190162e-10 3.653941e-11 2.876601e-13 [71] 3.652110e-02 2.893579e-13 1.837805e-11 2.898464e-13 3.652110e-02 attr(,"criterion") attr(,"criterion")$crit.value [1] 1.488569 attr(,"criterion")$crit [1] "D" > > ## assign v = 1 if x3 = 1, and v = 0.1 otherwise > design$update( + weights = ~pmax(x3, 0.1), + cost = NULL + ) > ## penalized approximate D-optimal design > design$optimize(criterion = "D") * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘test_cvxoptdes.R’ OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-MKL/cvxoptdes.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 30:59.51, 42.11 + 6.21