CRAN Package Check Results for Package heplots

Last updated on 2015-07-30 11:48:38.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0-16 4.44 77.61 82.05 OK
r-devel-linux-x86_64-debian-gcc 1.0-16 4.23 77.15 81.38 OK
r-devel-linux-x86_64-fedora-clang 1.0-16 182.41 OK
r-devel-linux-x86_64-fedora-gcc 1.0-16 169.61 OK
r-devel-osx-x86_64-clang 1.0-16 136.35 OK
r-devel-windows-ix86+x86_64 1.0-16 13.00 129.00 142.00 OK
r-patched-linux-x86_64 1.0-16 4.15 77.65 81.80 OK
r-patched-solaris-sparc 1.0-16 953.60 OK
r-patched-solaris-x86 1.0-16 213.10 OK
r-release-linux-x86_64 1.0-16 4.68 77.38 82.06 OK
r-release-osx-x86_64-mavericks 1.0-16 ERROR
r-release-windows-ix86+x86_64 1.0-16 16.00 125.00 141.00 OK
r-oldrel-windows-ix86+x86_64 1.0-16 20.00 153.00 173.00 OK

Check Details

Version: 1.0-16
Check: examples
Result: ERROR
    Running examples in ‘heplots-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: Adopted
    > ### Title: Adopted Children
    > ### Aliases: Adopted
    > ### Keywords: datasets
    >
    > ### ** Examples
    >
    > # Treat as multivariate regression problem
    > Adopted.mod <- lm(cbind(Age2IQ, Age4IQ, Age8IQ, Age13IQ) ~ AMED + BMIQ, data=Adopted)
    > Adopted.mod
    
    Call:
    lm(formula = cbind(Age2IQ, Age4IQ, Age8IQ, Age13IQ) ~ AMED +
     BMIQ, data = Adopted)
    
    Coefficients:
     Age2IQ Age4IQ Age8IQ Age13IQ
    (Intercept) 117.63046 93.33771 88.03739 76.84827
    AMED -0.44136 -0.02073 -0.01216 -0.16063
    BMIQ 0.04001 0.22172 0.30961 0.36747
    
    >
    > require(car)
    > # test overall multivariate regression
    > linearHypothesis(Adopted.mod, c("AMED","BMIQ"))
    
    Sum of squares and products for the hypothesis:
     Age2IQ Age4IQ Age8IQ Age13IQ
    Age2IQ 118.3111 123.1252 168.2407 231.7826
    Age4IQ 123.1252 763.3184 1066.4332 1260.8390
    Age8IQ 168.2407 1066.4332 1490.0603 1760.4299
    Age13IQ 231.7826 1260.8390 1760.4299 2090.8328
    
    Sum of squares and products for error:
     Age2IQ Age4IQ Age8IQ Age13IQ
    Age2IQ 10242.157 5137.843 5000.888 3430.234
    Age4IQ 5137.843 9561.649 5929.696 5316.677
    Age8IQ 5000.888 5929.696 9875.424 8141.506
    Age13IQ 3430.234 5316.677 8141.506 12312.409
    
    Multivariate Tests:
     Df test stat approx F num Df den Df Pr(>F)
    Pillai 2 0.1964576 1.552235 8 114 0.147134
    Wilks 2 0.8065020 1.589253 8 112 0.135846
    Hotelling-Lawley 2 0.2362528 1.624238 8 110 0.125939
    Roy 2 0.2195371 3.128404 4 57 0.021426 *
    ---
    Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
    >
    > # show separate linear regressions
    > op <- par(mfcol=c(2,4), mar=c(4,4,2,2)+.1)
    > for (i in 3:6) {
    + dataEllipse(as.matrix(Adopted[,c(1,i)]),col="black", levels=0.68, ylim=c(70,140))
    + abline(lm(Adopted[,i] ~ Adopted[,1]), col="red", lwd=2)
    + dataEllipse(as.matrix(Adopted[,c(2,i)]),col="black", levels=0.68, ylim=c(70,140))
    + abline(lm(Adopted[,i] ~ Adopted[,2]), col="red", lwd=2)
    + abline(a=0,b=1, lty=1, col="blue")
    + }
    > par(op)
    >
    > # between-S (MMReg) plots
    > heplot(Adopted.mod, hypotheses=list("Reg"=c("AMED", "BMIQ")),
    + main="IQ scores of adopted children: MMReg")
    >
    > pairs(Adopted.mod, hypotheses=list("Reg"=c("AMED", "BMIQ")))
    >
    > heplot3d(Adopted.mod, hypotheses=list("Reg"=c("AMED", "BMIQ")),
    + col = c("red", "blue", "black", "gray"), wire=FALSE)
    Loading required namespace: rgl
    Warning in rgl.init(initValue, onlyNULL) :
     RGL: unable to open X11 display
    Warning in fun(libname, pkgname) : error in rgl_init
    Error in rgl.open(useNULL) : rgl.open failed
    Calls: heplot3d -> heplot3d.mlm -> <Anonymous> -> rgl.open
    Execution halted
Flavor: r-release-osx-x86_64-mavericks