• using R version 2.11.0 Under development (unstable) (2009-11-06 r50317)
  • using session charset: UTF-8
  • checking for file 'apTreeshape/DESCRIPTION' ... OK
  • this is package 'apTreeshape' version '1.4-1'
  • package encoding: latin1
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking for executable files ... OK
  • checking whether package 'apTreeshape' 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 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 data for non-ASCII characters ... OK
  • checking examples ... ERROR
    Running examples in 'apTreeshape-Ex.R' failed.
    The error most likely occurred in:

    > ### * aldous.test
    >
    > flush(stderr()); flush(stdout())
    >
    > ### Name: aldous.test
    > ### Title: Visualizing balance via scatter diagrams
    > ### Aliases: aldous.test
    > ### Keywords: htest
    >
    > ### ** Examples
    >
    > library(quantreg)
    > aldous.test(rbiased(2000, p=.5))
    > if(!inherits(try(open(url("http://www.google.com")), silent = TRUE), "try-error")) {
    +
    + t <- as.treeshape(dbtrees(db="pandit", tree=61, quiet=TRUE, class="phylo"),model="biased")
    + aldous.test(t, xmin=10)
    +
    + t <-as.treeshape(dbtrees(db="pandit", tree=120, quiet=TRUE, class="phylo"),model="yule")
    + aldous.test(t)
    +
    + ## Test with a huge balanced tree:
    + aldous.test(rbiased(2000, p=.5))
    + }
    Error in UseMethod("as.treeshape") :
    no applicable method for 'as.treeshape' applied to an object of class "NULL"
    Calls: as.treeshape
    Execution halted