* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/fdesigns.Rcheck’ * using R Under development (unstable) (2025-12-20 r89211) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘fdesigns/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘fdesigns’ version ‘1.2’ * 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 ‘fdesigns’ can be installed ... [39s/40s] OK * used C++ compiler: ‘g++ (GCC) 14.2.1 20240912 (Red Hat 14.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 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 ... [12s/12s] 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 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 use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘fdesigns-Ex.R’ failed The error most likely occurred in: > ### Name: P > ### Title: Compute Profile Factor Polynomials > ### Aliases: P > > ### ** Examples > > ## Example 1: > > d <- list(x1=matrix(runif(48), nrow=12)) > within(d, example1 <- P(x = x1, deg = 2)) $x1 [,1] [,2] [,3] [,4] [1,] 0.26550866 0.6870228 0.26722067 0.7942399 [2,] 0.37212390 0.3841037 0.38611409 0.1079436 [3,] 0.57285336 0.7698414 0.01339033 0.7237109 [4,] 0.90820779 0.4976992 0.38238796 0.4112744 [5,] 0.20168193 0.7176185 0.86969085 0.8209463 [6,] 0.89838968 0.9919061 0.34034900 0.6470602 [7,] 0.94467527 0.3800352 0.48208012 0.7829328 [8,] 0.66079779 0.7774452 0.59956583 0.5530363 [9,] 0.62911404 0.9347052 0.49354131 0.5297196 [10,] 0.06178627 0.2121425 0.18621760 0.7893562 [11,] 0.20597457 0.6516738 0.82737332 0.0233312 [12,] 0.17655675 0.1255551 0.66846674 0.4772301 $example1 [,1] [,2] [,3] [,4] [,5] [,6] [1,] 0.070494850 0.1824105 0.070949403 0.210877564 0.1824105 0.47200039 [2,] 0.138476197 0.1429342 0.143682282 0.040168403 0.1429342 0.14753567 [3,] 0.328160976 0.4410062 0.007670697 0.414580250 0.4410062 0.59265581 [4,] 0.824841390 0.4520143 0.347287721 0.373522641 0.4520143 0.24770454 [5,] 0.040675601 0.1447307 0.175400929 0.165570034 0.1447307 0.51497632 [6,] 0.807104026 0.8911182 0.305766028 0.581312204 0.8911182 0.98387770 [7,] 0.892411363 0.3590098 0.455409163 0.739617218 0.3590098 0.14442674 [8,] 0.436653723 0.5137341 0.396191774 0.365445174 0.5137341 0.60442107 [9,] 0.395784480 0.5880362 0.310493768 0.333254027 0.5880362 0.87367387 [10,] 0.003817543 0.0131075 0.011505691 0.048771378 0.0131075 0.04500445 [11,] 0.042425526 0.1342282 0.170417868 0.004805634 0.1342282 0.42467870 [12,] 0.031172287 0.0221676 0.118022316 0.084258190 0.0221676 0.01576408 [,7] [,8] [,9] [,10] [,11] [,12] [1,] 0.18358670 0.54566093 0.070949403 0.18358670 0.071406886 0.212237307 [2,] 0.14830786 0.04146155 0.143682282 0.14830786 0.149084092 0.041678555 [3,] 0.01030843 0.55714266 0.007670697 0.01030843 0.000179301 0.009690731 [4,] 0.19031420 0.20469097 0.347287721 0.19031420 0.146220550 0.157266389 [5,] 0.62410625 0.58912625 0.175400929 0.62410625 0.756362167 0.713969477 [6,] 0.33759424 0.64182295 0.305766028 0.33759424 0.115837440 0.220226288 [7,] 0.18320740 0.29754199 0.455409163 0.18320740 0.232401238 0.377436316 [8,] 0.46612959 0.42995544 0.396191774 0.46612959 0.359479179 0.331581673 [9,] 0.46131564 0.49513166 0.310493768 0.46131564 0.243583022 0.261438494 [10,] 0.03950467 0.16745602 0.011505691 0.03950467 0.034676995 0.146992024 [11,] 0.53917749 0.01520433 0.170417868 0.53917749 0.684546608 0.019303614 [12,] 0.08392941 0.05991867 0.118022316 0.08392941 0.446847780 0.319012425 [,13] [,14] [,15] [,16] [1,] 0.210877564 0.54566093 0.212237307 0.630816956 [2,] 0.040168403 0.04146155 0.041678555 0.011651826 [3,] 0.414580250 0.55714266 0.009690731 0.523757533 [4,] 0.373522641 0.20469097 0.157266389 0.169146656 [5,] 0.165570034 0.58912625 0.713969477 0.673952818 [6,] 0.581312204 0.64182295 0.220226288 0.418686894 [7,] 0.739617218 0.29754199 0.377436316 0.612983710 [8,] 0.365445174 0.42995544 0.331581673 0.305849162 [9,] 0.333254027 0.49513166 0.261438494 0.280602834 [10,] 0.048771378 0.16745602 0.146992024 0.623083261 [11,] 0.004805634 0.01520433 0.019303614 0.000544345 [12,] 0.084258190 0.05991867 0.319012425 0.227748535 attr(,"x") [1] "x1" attr(,"deg") [1] 2 > > ## No test: > ## Example 2: Use the function in a formula > ## This example involves finding a D-optimal design for a functional linear model of n=20 runs > ## depending on two profile factors. In addition to the main effects, the model includes the > ## interaction of the profile factors and the quadratic effect of the second profile factor. > ## The quadratic effect is identified in the formula argument using the \link[fdesigns]{P} function. > > example2 <- pflm(formula = ~ x1 + x2 + x1:x2 + P(x2, 2), nsd = 1, mc.cores = 1, + npf = 2, tbounds = c(0, 1), nruns = 20, startd=NULL, dx = c(2, 2), + knotsx = list(c(0.33, 0.66), c(0.25, 0.50, 0.75)), + pars = c("power", "power", "bspline", "bspline"), db = c(1, 1, 2, 2), + knotsb = list(c(), c(), c(0.25, 0.50, 0.75), c(0.25, 0.50, 0.75)), + criterion = "D", lambda = 1, tol = 0.0001, dlbound = -1, dubound = 1, + progress = FALSE) Error in pflm(formula = ~x1 + x2 + x1:x2 + P(x2, 2), nsd = 1, mc.cores = 1, : Criterion should be SE or WSE or SI Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [11s/11s] OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/fdesigns.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:54.06, 92.97 + 19.69