- using R version 2.6.2 (2008-02-08)
- checking for file 'apTreeshape/DESCRIPTION' ... OK
- this is package 'apTreeshape' version '1.4-0'
- checking package dependencies ... OK
- checking if this is a source package ... 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 ... WARNING
Rd files with unknown encoding:
cladesize.Rd
cutreeshape.Rd
dbtrees.Rd
likelihood.test.Rd
rtreeshape.Rd
sackin.Rd
shape.statistic.Rd
subtree.test.Rd
summary.treeshape.Rd
tipsubtree.Rd
treeshape.Rd
See the chapter 'Writing R documentation files' in manual 'Writing R
Extensions'.
- 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
- creating apTreeshape-Ex.R ... 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)
> if(!inherits(try(open(url("http://www.google.com")), silent = TRUE), "try-error")) {
+ ## The Yule model is fitting to the data better than the PDA
+ aldous.test(dbtrees(db="pandit", tree=61, quiet=TRUE, class="treeshape"), xmin=10)
+
+ ## For this tree, the PDA model provides a better fit than the Yule model
+ aldous.test(dbtrees(db="pandit", tree=120, quiet=TRUE, class="treeshape"))
+
+ ## Test with a huge balanced tree:
+ aldous.test(rbiased(2000, p=.5))
+
+ }
Warning in tree.build(STRING[[i]]) : NAs introduced by coercion
Warning in add.terminal() : NAs introduced by coercion
Error in if (sum(list.obj[[i]]$edge[, 1] == "-1") == 1) { :
missing value where TRUE/FALSE needed
Calls: aldous.test -> identical -> dbtrees -> pandit -> read.tree2
Execution halted
* elapsed time (check, wall clock): 0:52