* using log directory ‘/data/gannet/ripley/R/packages/tests-LENGTH1/ROP.Rcheck’ * using R Under development (unstable) (2022-04-26 r82260) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘ROP/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘ROP’ version ‘1.0’ * 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 ‘ROP’ can be installed ... [4s/10s] 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 * 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 ... [6s/18s] 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 data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in ‘ROP-Ex.R’ failed The error most likely occurred in: > ### Name: ROP-package > ### Title: Regression Optimized: Numerical Approach for Multivariate > ### Classification and Regression Trees > ### Aliases: ROP-package ROP > ### Keywords: package > > ### ** Examples > > rop( + fic = system.file("extdata", "titanic.csv", package = "ROP"), + output_folder = tempdir(), + mini = -1, + maxi = 1, + nbCycles = 2, + typesVariables = c(FALSE, FALSE, FALSE) + ) ============================================================================= Factors : Class Sexe Age ============================================================================= Cycle no. 1 Step no. 1 Number of observations : 1046 Coefficients : 0 1 1 Threshold= 2 Se= 79.64459 Sp= 75.17564 AUC= 0.7707756 ============================================================================= Cycle no. 1 Step no. 2 Number of observations : 447 Coefficients : 1 0 0 Threshold= 3 Se= 86.50794 Sp= 73.52025 AUC= 0.8135044 ============================================================================= ***************************************************************************** -> Sensitivity = 97.25363 Specificity = 55.26932 ***************************************************************************** ============================================================================= Cycle no. 2 Step no. 1 Number of observations : 793 Coefficients : 0 1 1 Threshold= 2 Se= 81.89369 Sp= 44.50262 AUC= 0.6339644 ============================================================================= ----------- FAILURE REPORT -------------- --- failure: length > 1 in coercion to logical --- --- srcref --- : --- package (from environment) --- ROP --- call from context --- which(somme != 0 && somme != nbPond) --- call from argument --- somme != 0 && somme != nbPond --- R stacktrace --- where 1: which(somme != 0 && somme != nbPond) where 2: memesSujets(donnees, meilleureSeSp) where 3: choixMeilleurRes(matDonEtape, res, nbVar, var) where 4: executeEtape(sujetsNonRisque, limites, noCycle, 2, nbPond, fichRes, fichSol) where 5: executeCycle(matDonComplet, limites, i, nbPond, fichRes, fichSol, totalVnFn) where 6: executeCycleComplet(donnees, limites, nbCycles, nbPond, fichRes, fichSol, totalVnFn) where 7: rop(fic = system.file("extdata", "titanic.csv", package = "ROP"), output_folder = tempdir(), mini = -1, maxi = 1, nbCycles = 2, typesVariables = c(FALSE, FALSE, FALSE)) --- value of length: 194 type: logical --- 1 2 3 5 6 7 10 16 17 18 19 20 21 FALSE TRUE TRUE FALSE FALSE TRUE TRUE TRUE TRUE FALSE FALSE FALSE TRUE 22 27 28 29 30 31 32 33 34 38 39 40 41 FALSE FALSE FALSE TRUE TRUE TRUE FALSE FALSE FALSE TRUE TRUE FALSE FALSE 45 46 47 48 49 50 51 53 54 55 56 59 60 TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE FALSE FALSE FALSE FALSE TRUE 61 62 64 65 66 71 72 73 74 75 76 77 78 TRUE TRUE TRUE TRUE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE 79 80 81 82 83 84 85 86 88 89 90 91 94 TRUE TRUE FALSE FALSE FALSE TRUE TRUE FALSE FALSE TRUE TRUE TRUE TRUE 97 98 99 103 104 105 106 107 108 109 112 113 114 TRUE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE FALSE TRUE FALSE FALSE 115 122 123 127 128 133 142 143 146 151 170 171 173 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 174 175 177 184 187 188 190 191 192 195 210 216 220 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 221 236 241 245 267 268 273 276 286 306 309 310 313 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 315 316 319 320 325 326 328 330 353 355 357 359 360 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 389 395 397 398 403 407 432 434 466 469 471 472 473 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 491 495 496 497 500 523 527 534 564 565 567 568 598 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 599 601 603 606 609 610 628 630 631 634 646 673 674 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 717 723 747 748 750 764 766 775 776 780 795 800 813 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 832 833 859 885 886 889 890 891 911 913 926 1028 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE --- function from context --- function (x, arr.ind = FALSE, useNames = TRUE) { wh <- .Internal(which(x)) if (isTRUE(arr.ind) && !is.null(d <- dim(x))) arrayInd(wh, d, dimnames(x), useNames = useNames) else wh } --- function search by body --- Function which in namespace base has this body. ----------- END OF FAILURE REPORT -------------- Fatal error: length > 1 in coercion to logical * checking PDF 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/gannet/ripley/R/packages/tests-LENGTH1/ROP.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:50.65, 35.21 + 6.25