* using log directory 'd:/RCompile/CRANincoming/R-devel/RSAtools.Rcheck' * using R Under development (unstable) (2024-06-11 r86723 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'RSAtools/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RSAtools' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Fernando Núñez-Regueiro ' New submission Possibly misspelled words in DESCRIPTION: RSA (27:215) extrema (27:425) incongruence (27:401) * 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 serialization versions ... OK * checking whether package 'RSAtools' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [19s] 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 examples ... ERROR Running examples in 'RSAtools-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: RSAmodel > ### Title: Estimate polynomial models for response surface analysis > ### Aliases: RSAmodel > > ### ** Examples > > ###Simulation data from RSAtools > summary(sim_NSfit) engagement.V1 needs.V1 supplies.V1 Min. :-3.412807 Min. :-3.555374 Min. :-3.608981 1st Qu.:-0.631752 1st Qu.:-0.603201 1st Qu.:-0.612205 Median : 0.019050 Median :-0.006359 Median :-0.035253 Mean : 0.000000 Mean : 0.000000 Mean : 0.000000 3rd Qu.: 0.683683 3rd Qu.: 0.711790 3rd Qu.: 0.618518 Max. : 2.870905 Max. : 2.987213 Max. : 3.606222 > > ##### STEP 1: Estimate and compare polynolial families > #Estimate all polynomial families ("STEP1" option) > RSA_step1 <- RSAmodel(formula= engagement ~ needs*supplies, + data= sim_NSfit, model= c("CUBIC","STEP1")) [1] "Computing full cubic model (CUBIC) ..." [1] "Computing only main effect of X model (FM1_ONLYX) ..." [1] "Computing only main effect of Y model (FM2_ONLYY) ..." [1] "Computing additive effects model (FM3_ADDITIVE) ..." [1] "Computing interaction effect model (FM4_INTER) ..." [1] "Computing quadratic effect X model (FM5_QUADX) ..." [1] "Computing quadratic effect Y model (FM6_QUADY) ..." [1] "Computing congruence effect model (FM7_CONG) ..." [1] "Computing incongruence effect model (FM8_INCONG) ..." [1] "Computing congruence effect curved by X model (FM9_CURVCONGX) ..." [1] "Computing congruence effect curved by Y model (FM10_CURVCONGY) ..." [1] "Computing incongruence effect curved by X model (FM11_CURVINCONGX) ..." [1] "Computing incongruence effect curved by Y model (FM12_CURVINCONGY) ..." [1] "Computing quadratic effects of X and Y model (FM13_QUADXQUADY) ..." [1] "Computing rotated congruence effect model (FM14_ROTCONG) ..." [1] "Computing rotated incongruence effect model (FM15_ROTINCONG) ..." [1] "Computing cubic effect of X model (FM16_CUBICX) ..." [1] "Computing cubic Y effect model (FM17_CUBICY) ..." [1] "Computing level-dependent quadratic effect of X model (FM18_LEVDEPQUADX) ..." [1] "Computing level-dependent quadratic effect of Y model (FM19_LEVDEPQUADY) ..." [1] "Computing asymmetric congruence effect model (FM20_ASYMCONG) ..." [1] "Computing asymmetric incongruence effect model (FM21_ASYMINCONG) ..." [1] "Computing level-dependent congruence effect model (FM22_LEVDEPCONG) ..." [1] "Computing level-dependent incongruence effect model (FM23_LEVDEPINCONG) ..." [1] "Computing parallel asymmetric effects (FM24_PARALLELASYM) ..." [1] "Computing non-parallel asymmetric effects (FM25_NONPARALLELASYM) ..." [1] "Computing parallel asymmetric weak congruence... model (FM26_PARALLELASYMWEAK) ..." [1] "Computing parallel asymmetric strong congruence... model (FM27_PARALLELASYMSTRONG) ..." [1] "Computing non-parallel asymmetric weak congruence... model (FM28_NONPARALLELASYMWEAK) ..." [1] "Computing non-parallel asymmetric strong congruence...model (FM29_NONPARALLELASYMSTRONG) ..." [1] "Computing asymmetric congruence effect rotated by Y model (FM30_ASYMCONGROTY) ..." [1] "Computing asymmetric congruence effect rotated by X model (FM31_ASYMCONGROTX) ..." [1] "Computing asymmetric incongruence effect rotated by Y model (FM32_ASYMINCONGROTY) ..." [1] "Computing asymmetric incongruence effect rotated by X model (FM33_ASYMINCONGROTX) ..." [1] "Computing level-dependent congruence effect rotated by Y model (FM34_LEVDEPCONGROTY) ..." [1] "Computing level-dependent congruence effect rotated by X model (FM35_LEVDEPCONGROTX) ..." [1] "Computing level-dependent incongruence effect rotated by Y model (FM36_LEVDEPINCONGROTY) ..." [1] "Computing level-dependent incongruence effect rotated by X model (FM37_LEVDEPINCONGROTX) ..." > #Compare solutions according to parsimony (wAIC=Akaike weight) > RSA_step1_fit <- best.rsa(RSA_step1,order=c("wAIC")) Error in which(scaledList)[[1]] : subscript out of bounds Calls: best.rsa ... .cModels -> .anovaList -> eval -> eval -> lavTestLRT Execution halted * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE