ropensci / beautier

R package to generate the same BEAST2 XML parameter files as generated by BEAUti 2
https://docs.ropensci.org/beautier
GNU General Public License v3.0
13 stars 2 forks source link

Fix coercion to logical #112

Closed richelbilderbeek closed 1 year ago

richelbilderbeek commented 4 years ago

From this Travis CI log I copy the following error:

Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
   --- function search by body ---
  Function are_initial_phylogenies in namespace beautier has this body.
   ----------- END OF FAILURE REPORT -------------- 
  ── 1. Error: are_initial_phylogenies (@test-are_initial_phylogenies.R#5)  ──────
  'length(x) = 2 > 1' in coercion to 'logical(1)'
  Backtrace:
   1. testthat::expect_false(are_initial_phylogenies(phylogeny))
   4. beautier::are_initial_phylogenies(phylogeny)

I cannot reproduce the error.

I will skip it for now.