Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some tests fail if Statistics::R is installed #43

Open
eserte opened this issue Jun 2, 2018 · 0 comments
Open

Some tests fail if Statistics::R is installed #43

eserte opened this issue Jun 2, 2018 · 0 comments

Comments

@eserte
Copy link

eserte commented Jun 2, 2018

On a Debian/stretch system with various perl versions:

...
Problem while running this R command:
library("ape")

Error:
library("ape") : there is no package called 'ape'
Execution halted
t/50-replicate-tree.t .... skipped: (no reason given)
Problem while running this R command:
library("ape")

Error:
library("ape") : there is no package called 'ape'
Execution halted
t/51-replicate-binary.t .. skipped: (no reason given)
WARN Bio::Phylo::Matrices::MatrixRole::_replicate_dna [Bio/Phylo/Matrices/MatrixRole.pm 1323] - R package phylosim must be installed to replicate alignment.

#   Failed test at t/52-replicate-dna.t line 35.
# Looks like you failed 1 test of 1.
t/52-replicate-dna.t .....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/53-more-matrix.t ....... ok
t/54-rankprob.t .......... ok
WARN Bio::Phylo::Models::Substitution::Dna::modeltest [Bio/Phylo/Models/Substitution/Dna.pm 663] - modeltest not successful : Problem while running this R command:
data <- read.FASTA("/var/tmp/cpansmoker-1023/2018060206/T1oXmr8RYp")

Error:
could not find function "read.FASTA"
Execution halted


#   Failed test 'undef isa 'Bio::Phylo::Models::Substitution::Dna''
#   at t/55-modeltest.t line 37.
#     undef isn't defined
WARN Bio::Phylo::Models::Substitution::Dna::modeltest [Bio/Phylo/Models/Substitution/Dna.pm 663] - modeltest not successful : Problem while running this R command:
data <- read.FASTA("/var/tmp/cpansmoker-1023/2018060206/zgni7XrNLC")

Error:
could not find function "read.FASTA"
Execution halted


#   Failed test 'undef isa 'Bio::Phylo::Models::Substitution::Dna''
#   at t/55-modeltest.t line 41.
#     undef isn't defined
Can't call method "get_rate" on an undefined value at t/55-modeltest.t line 42, <DATA> line 1.
# Looks like your test exited with 25 just after 4.
t/55-modeltest.t .........
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 2/4 subtests
...

This happens only if Statistics::R is installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant