• using R version 2.11.0 Under development (unstable) (2009-11-06 r50317)
  • using session charset: UTF-8
  • checking for file 'rgl/DESCRIPTION' ... OK
  • this is package 'rgl' version '0.87'
  • checking package name space information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking for executable files ... OK
  • checking whether package 'rgl' can be installed ... 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 name space can be loaded with stated dependencies ... 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 line endings in C/C++/Fortran sources/headers ... OK
  • checking line endings in Makefiles ... OK
  • checking for portable compilation flags in Makevars ... OK
  • checking for portable use of $BLAS_LIBS ... OK
  • checking examples ... ERROR
    Running examples in 'rgl-Ex.R' failed.
    The error most likely occurred in:

    > ### * rgl.pixels
    >
    > flush(stderr()); flush(stdout())
    >
    > ### Name: rgl.pixels
    > ### Title: Extract pixel information from window
    > ### Aliases: rgl.pixels
    > ### Keywords: dynamic
    >
    > ### ** Examples
    >
    > example(surface3d)

    srfc3d> #
    srfc3d> # volcano example taken from "persp"
    srfc3d> #
    srfc3d>
    srfc3d> data(volcano)

    srfc3d> z <- 2 * volcano # Exaggerate the relief

    srfc3d> x <- 10 * (1:nrow(z)) # 10 meter spacing (S to N)

    srfc3d> y <- 10 * (1:ncol(z)) # 10 meter spacing (E to W)

    srfc3d> zlim <- range(y)

    srfc3d> zlen <- zlim[2] - zlim[1] + 1

    srfc3d> colorlut <- terrain.colors(zlen) # height color lookup table

    srfc3d> col <- colorlut[ z-zlim[1]+1 ] # assign colors to heights for each point

    srfc3d> open3d()
    [1] 30

    srfc3d> surface3d(x, y, z, color=col, back="lines")
    > depth <- rgl.pixels(component="depth")
    > if (is.matrix(depth)) # Protect against single pixel windows
    + contour(depth)
    Error in contour.default(depth) : no proper 'z' matrix specified
    Calls: contour -> contour.default
    Execution halted