ropensci / phylocomr

Phylocom R interface
https://docs.ropensci.org/phylocomr
Other
15 stars 7 forks source link

Example failure #3

Closed jeroen closed 7 years ago

jeroen commented 7 years ago

When running cmd check. Did I cause this or was this not working before?

> ### Name: ph_ecovolve
> ### Title: ecovolve
> ### Aliases: ph_ecovolve
> 
> ### ** Examples
> 
> library(phytools)
Loading required package: ape
Loading required package: maps
> plo_t <- function(x) plot(phytools::read.newick(text = x))
> 
> plo_t(ph_ecovolve(speciation = 0.05))
balance: 0.327273, time: 100, lineages: 12
> plo_t(ph_ecovolve(speciation = 0.1))
Error in while (text[i] != ";") { : argument is of length zero
Calls: plo_t -> plot -> <Anonymous> -> newick
Execution halted
* DONE
Status: 1 ERROR
checking examples ... ERROR
Running examples in ‘phylocomr-Ex.R’ failed
jeroen commented 7 years ago

This only seems to appear with relatively recent compilers: https://travis-ci.org/ropensci/phylocomr. Probalbly a bug in phylotools or phylocom.

sckott commented 7 years ago

I think it was a problem in phytools since I can't seem to replicate the problems when i remove the plot(read.newick()) call

sckott commented 7 years ago

should be sorted