CRAN Package Check Results for Package DoE.base

Last updated on 2016-07-31 10:46:48.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.28 2.26 47.18 49.44 ERROR
r-devel-linux-x86_64-debian-gcc 0.28 2.37 47.41 49.78 ERROR
r-devel-linux-x86_64-fedora-clang 0.28 75.48 OK
r-devel-linux-x86_64-fedora-gcc 0.28 68.82 OK
r-devel-osx-x86_64-clang 0.28 81.87 OK
r-devel-windows-ix86+x86_64 0.28 9.00 82.00 91.00 OK
r-patched-linux-x86_64 0.28 2.04 51.26 53.30 OK
r-patched-solaris-sparc 0.28 612.70 OK
r-patched-solaris-x86 0.28 114.60 OK
r-release-linux-x86_64 0.28 2.92 62.24 65.16 OK
r-release-osx-x86_64-mavericks 0.28 OK
r-release-windows-ix86+x86_64 0.28 9.00 108.00 117.00 OK
r-oldrel-windows-ix86+x86_64 0.28 12.00 98.00 110.00 OK

Check Details

Version: 0.28
Check: examples
Result: ERROR
    Running examples in ‘DoE.base-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: generalized.word.length
    > ### Title: Functions for calculating the generalized word length pattern,
    > ### projection frequency tables or optimizing column selection within an
    > ### array
    > ### Aliases: generalized.word.length length2 length3 length4 length5
    > ### lengths lengths.default lengths.design lengths.matrix contr.XuWu
    > ### contr.XuWuPoly P3.3 P4.4 oa.min3 oa.min34 oa.max3 oa.max4 oa.maxGR
    > ### oa.minRelProjAberr nchoosek tupleSel tupleSel.design tupleSel.default
    > ### Keywords: design array
    >
    > ### ** Examples
    >
    > ## check a small design
    > oa12 <- oa.design(nlevels=c(2,2,6))
    > length3(oa12)
    [1] 1
    > ## length4 is of course 0, because there are only 3 factors
    > P3.3(oa12)
     length3 frequency
     1 1
    attr(,"A3")
    [1] 1
    >
    > ## the results need not be an integer
    > oa12 <- oa.design(L12.2.11,columns=1:6)
    > length3(oa12)
    [1] 2.222222
    > length4(oa12)
    [1] 1.666667
    > P3.3(oa12) ## all projections have the same pattern
     length3 frequency
     0.1111 20
    attr(,"A3")
    [1] 2.222222
    > ## which is known to be true for the complete L12.2.11 as well
    > P3.3(L18) ## this is the pattern of the Taguchi L18
     length3 frequency
     0.0000 12
     0.5000 28
     0.6667 9
     1.0000 6
     2.0000 1
    attr(,"A3")
    [1] 28
    > ## also published by Schoen 2009
    > P3.3(L18[,-2]) ## without the 2nd column (= the 1st 3-level column)
     length3 frequency
     0.0000 6
     0.5000 20
     0.6667 9
    attr(,"A3")
    [1] 16
    > P3.3(L18[,-2], rela=TRUE) ## relative pattern, divided by theoretical upper
     length3.rela frequency
     0.0000 6
     0.2500 20
     0.6667 9
    attr(,"A3")
    [1] 16
    attr(,"rA3")
    [1] 11
    attr(,"GR")
    [1] 3.1835
    > ## bound for each 3-factor projection
    >
    > ## choosing among different assignment possibilities
    > ## for two 2-level factors and one 3- and 4-level factor each
    > show.oas(nlevels=c(2,2,3,4))
    98 arrays found,
    the first 10 are listed
     name nruns lineage
    33 L24.2.13.3.1.4.1 24
    127 L48.2.37.3.1.4.1 48 4~12;12~1;:(12~1!2~4;3~1;)(4~1!2~3;)
    131 L48.2.34.3.1.4.2 48 4~12;12~1;:(12~1!2~4;3~1;)(4~1!2~3;)
    136 L48.2.31.3.1.4.3 48 4~12;12~1;:(12~1!2~4;3~1;)(4~1!2~3;)
    141 L48.2.28.3.1.4.4 48 4~12;12~1;:(12~1!2~4;3~1;)(4~1!2~3;)
    145 L48.2.25.3.1.4.5 48 4~12;12~1;:(12~1!2~4;3~1;)(4~1!2~3;)
    150 L48.2.22.3.1.4.6 48 4~12;12~1;:(12~1!2~4;3~1;)(4~1!2~3;)
    154 L48.2.19.3.1.4.7 48 4~12;12~1;:(12~1!2~4;3~1;)(4~1!2~3;)
    158 L48.2.16.3.1.4.8 48 4~12;12~1;:(12~1!2~4;3~1;)(4~1!2~3;)
    162 L48.2.13.3.1.4.9 48 4~12;12~1;:(12~1!2~4;3~1;)(4~1!2~3;)
    > ## default allocation: first two columns for the 2-level factors
    > oa24.bad <- oa.design(L24.2.13.3.1.4.1, columns=c(1,2,14,15))
    > length3(oa24.bad)
    [1] 1.111111
    > ## much better: columns 3 and 10
    > oa24.good <- oa.design(L24.2.13.3.1.4.1, columns=c(3,10,14,15))
    > length3(oa24.good)
    [1] 0.1111111
    > length4(oa24.good) ## there are several variants,
    [1] 0.8888889
    > ## which produce the same pattern for lengths 3 and 4
    >
    > ## the difference matters
    > plot(oa24.bad, select=c(2,3,4))
    Error in if (split_vertical[i]) { : missing value where TRUE/FALSE needed
    Calls: plot ... <Anonymous> -> mosaic.default -> strucplot -> labeling
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc