From c03097345f176b0f9d2190209b68fa1c293ae5b9 Mon Sep 17 00:00:00 2001 From: Cecile Ane Date: Fri, 8 Jan 2016 13:14:57 -0600 Subject: [PATCH] donttest >5sec examples for CRAN submission --- DESCRIPTION | 4 ++-- man/phylolm-package.Rd | 4 ++-- man/stepwise.test.tree.Rd | 3 ++- man/test.one.species.tree.Rd | 3 ++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5128cc4..9a46a31 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: phylolm Version: 2.4 -Date: 2016-01-03 +Date: 2016-01-08 Title: Phylogenetic Linear Regression Authors@R: c(person("Lam Si Tung", "Ho", role=c("aut", "cre"), email="lamho86@gmail.com"), person("Cecile", "Ane", role="aut"), @@ -12,5 +12,5 @@ Description: Provides functions for fitting phylogenetic linear models and phylo License: GPL (>= 2) | file LICENSE URL: https://cran.r-project.org/package=phylolm Encoding: UTF-8 -Packaged: 2016-01-03 +Packaged: 2016-01-08 NeedsCompilation: yes diff --git a/man/phylolm-package.Rd b/man/phylolm-package.Rd index 7a12492..136ab75 100644 --- a/man/phylolm-package.Rd +++ b/man/phylolm-package.Rd @@ -10,11 +10,11 @@ Other tools include functions to test the adequacy of a population tree.} Package: \tab phylolm\cr Type: \tab Package\cr Version: \tab 2.4\cr -Date: \tab 2016-01-03\cr +Date: \tab 2016-01-08\cr License: \tab GPL (>= 2)\cr } } \author{Lam Si Tung Ho, Cecile Ane, Robert Lachlan, Kelsey Tarpinia, Rachel Feldman Maintainer: Lam Si Tung Ho -} \ No newline at end of file +} diff --git a/man/stepwise.test.tree.Rd b/man/stepwise.test.tree.Rd index 0b65e79..5aee6c5 100644 --- a/man/stepwise.test.tree.Rd +++ b/man/stepwise.test.tree.Rd @@ -69,6 +69,7 @@ Systematic Biology, \bold{64}(5):809-823. \examples{ data(quartetCF) data(guidetree) -resF <- stepwise.test.tree(quartetCF,guidetree,startT="fulltree") +\donttest{resF <- stepwise.test.tree(quartetCF,guidetree,startT="fulltree") # takes ~ 1 min resF[1:9] } +} diff --git a/man/test.one.species.tree.Rd b/man/test.one.species.tree.Rd index 3854154..fb39f6d 100644 --- a/man/test.one.species.tree.Rd +++ b/man/test.one.species.tree.Rd @@ -59,7 +59,7 @@ Systematic Biology, \bold{64}(5):809-823. \examples{ data(quartetCF) data(guidetree) -prelim <- test.tree.preparation(quartetCF,guidetree) +\donttest{prelim <- test.tree.preparation(quartetCF,guidetree) # takes 5-10 seconds # test of panmixia: all edges collapsed, none resolved. panmixia <- test.one.species.tree(quartetCF,guidetree,prelim,edge.keep=NULL) @@ -88,3 +88,4 @@ sum(apply(q01,1,function(x){"Cnt_1" \%in\% x | "Vind_1" \%in\% x})) sum(apply(q01,1,function(x){"Cnt_1" \%in\% x & "Vind_1" \%in\% x})) # 212 outlier 4-taxon sets have both Cnt_1 and Vind_1 } +}