• using R version 2.15.0 (2012-03-30)
  • using platform: i686-pc-linux-gnu (32-bit)
  • using session charset: UTF-8
  • checking for file ‘genridge/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘genridge’ version ‘0.6-3’
  • 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 whether package ‘genridge’ can be installed ... OK
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level 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 for unstated 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 ... OK
  • checking Rd files ... OK
  • checking Rd metadata ... 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 ‘genridge-Ex.R’ failed
    The error most likely occurred in:

    > ### Name: Detroit
    > ### Title: Detroit Homicide Data for 1961-1973
    > ### Aliases: Detroit
    > ### Keywords: datasets
    >
    > ### ** Examples
    >
    > data(Detroit)
    >
    > # Work with a subset of predictors, from Miller (2002, Table 3.14),
    > # the "best" 6 variable model
    > # Variables: Police, Unemp, GunLic, HClear, WhMale, WkEarn
    > # Scale these for comparison with other methods
    >
    > Det <- as.data.frame(scale(Detroit[,c(1,2,4,6,7,11)]))
    > Det <- cbind(Det, Homicide=Detroit[,"Homicide"])
    >
    > # use the formula interface; specify ridge constants in terms
    > # of equivalent degrees of freedom
    > dridge <- ridge(Homicide~., data=Det, df=seq(6,4,-.5))
    >
    > # univariate trace plots are seemingly paradoxical in that
    > # some coefficients "shrink" *away* from 0
    > traceplot(dridge, X="df")
    > vif(dridge)
    Police Unemp GunLic HClear WhMale WkEarn
    0.00000000 24.813319 4.857380 19.272306 46.922906 56.711341 54.716585
    0.03901941 20.118936 3.869947 11.362456 33.071940 35.390343 31.882644
    0.10082082 15.414725 2.970643 6.431731 21.289465 20.775894 17.352584
    0.20585744 10.776320 2.207891 3.597306 12.171334 11.258278 8.750494
    0.40331592 6.534224 1.622736 2.128409 5.995951 5.503441 4.113455
    > pairs(dridge, radius=0.5)
    >
    > plot3d(dridge, radius=0.5, labels=dridge$df)
    Loading required package: rgl
    Warning in rgl.init(initValue) : RGL: GLX extension missing on server
    Warning in fun(libname, pkgname) : error in rgl_init

    Attaching package: ‘rgl’

    The following object(s) are masked from ‘package:genridge’:

    plot3d

    Error in rgl.open() : rgl.open failed
    Calls: plot3d -> plot3d.ridge -> open3d -> rgl.open
    Execution halted