I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-11-01 14:32:24.413088-07 by ryang
Test 06-get-set failing
Hi - I'm installed Statistics::R on RedHat 5.5 Linux. I get the following errors during 'make test':
t/06-get-set.......ok 2/86 # Failed test in t/06-get-set.t at line 64. # got: '"two strin' # expected: 'a string' t/06-get-set.......NOK 28 # Failed test in t/06-get-set.t at line 65. # got: 'a string' # expected: 'two strings' t/06-get-set.......NOK 29 # Failed test in t/06-get-set.t at line 66. # got: 'two strings' # expected: '0.93945768644' t/06-get-set.......NOK 30 # Failed test in t/06-get-set.t at line 75. # got: '"gi|5' # expected: 'abc 123 xyz' t/06-get-set.......NOK 35 # Failed test in t/06-get-set.t at line 76. # got: 'abc 123 xyz' # expected: 'gi|57116681|ref|NC_000962.2|' t/06-get-set.......NOK 36# Looks like you failed 5 tests of 86. t/06-get-set.......dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 28-30, 35-36 Failed 5/86 tests, 94.19% okay The code that is failing is: 59: $input = [123, "a string", 'two strings', 0.93945768644]; 60: ok $R->set('x', $input), 'mixed array'; 61: ok $output = $R->get('x'); 62: is ref($output), 'ARRAY'; 63: is $$output[0], 123; 64: is $$output[1], "a string"; 65: is $$output[2], "two strings"; 66: is $$output[3], 0.93945768644;
Its odd that its failing like this. Any idea why? And is this normal?
Direct Responses: Write a response