• 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 ‘edrGraphicalTools/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘edrGraphicalTools’ 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 whether package ‘edrGraphicalTools’ 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 examples ... ERROR
    Running examples in ‘edrGraphicalTools-Ex.R’ failed
    The error most likely occurred in:

    > ### Name: criterionRkh
    > ### Title: Estimation of the Rkh criterion by bootstrap method
    > ### Aliases: criterionRkh
    > ### Keywords: regression
    >
    > ### ** Examples
    >
    > ## simulated example 1
    > set.seed(10)
    > n <- 500
    > beta <- c(1,rep(0,9))
    > X <- rmvnorm(n,sigma=diag(10))
    > eps <- rnorm(n)
    > Y <- (X%*%beta)**3+eps*((X%*%beta)**2)
    > ## Choice a grid of values for H
    > grid.H <- c(2,5,10,15,20,30)
    > res1 <- criterionRkh(Y,X,H=grid.H,B=50,method="SIR-I")
    Be patient. The program is running ...
    > res1
    Trace criterion estimated by boostrap

    Reduction method performed: SIR-I
    Number of observations: 500

    Value of K tried:
    1 2 3 4 5 6 7 8 9 10
    Value of H tried:
    2 5 10 15 20 30

    Result of the bootsrap estimate of the trace criterion R(H,K)

    1 2 3 4 5 6 7 8 9 10
    2 0.962 0.745 0.587 0.557 0.561 0.626 0.715 0.816 0.905 1
    5 0.983 0.720 0.718 0.693 0.661 0.684 0.745 0.827 0.913 1
    10 0.988 0.711 0.680 0.663 0.693 0.734 0.782 0.826 0.905 1
    15 0.987 0.720 0.644 0.663 0.695 0.721 0.767 0.823 0.902 1
    20 0.988 0.689 0.654 0.644 0.683 0.720 0.767 0.837 0.912 1
    30 0.988 0.679 0.621 0.629 0.669 0.710 0.785 0.838 0.915 1

    > plot(res1,choice.H=c(2,5),choice.K=c(1,2))
    dev.new(): using pdf(file="Rplots1.pdf")
    dev.new(): using pdf(file="Rplots2.pdf")
    dev.new(): using pdf(file="Rplots3.pdf")
    Error in rgl.open() : rgl.open failed
    Calls: plot -> plot.criterionRkh -> open3d -> rgl.open
    Execution halted