Runit testing handleSimpleError seems to blow up with something it doesn't like

Description

this was on runit_v_4_createfunctions.R
I would think an error handling function should be more robust to bad input??

http://mr-0xb1:8080/job/h2o_master_DEV_runit_small/1201/artifact/h2o-r/tests/results/testdir_jira_runit_v_4_createfunctions.R.out.txt

> doTest('function', functiontest)
[2015-02-03 22:59:44] [INFO]: ======================== Begin Test ===========================

[2015-02-03 22:59:44] [INFO]: uploading function testing dataset

 

 

0%

 

======================================================================

100%
[2015-02-03 22:59:46] [INFO]: printing from h2o
[2015-02-03 22:59:46] [INFO]: c(1, 3, 5)
[2015-02-03 22:59:46] [INFO]: c(2, 4, 6)
[2015-02-03 22:59:46] [INFO]: applying over 1, 2, 1:2

  1.  

    1.  

      1.  

        1.  

          1.  

            1.  

              1.  

                1. ### #### ##

    2. ## ## ## ##

    3. ## ## ## ##

      1.  

        1.  

          1.  

            1. ## ## ## ##

    4. ######### ## ##

    5. ## ## ## ##

    6. ## ## #### ########

[2015-02-03 22:59:46] [ERROR] : Error: Test failed: 'function'
Not expected: cannot coerce type 'closure' to vector of type 'character'
1: withWarnings(test(conn))
2: withCallingHandlers(expr, warning = wHandler)
3: test(conn)
4: apply(df.h, 1, fn1)
5: apply(df.h, 1, fn1)
6: .handleSimpleError(function (e)
{
e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2)
signalCondition(e)
}, "cannot coerce type 'closure' to vector of type 'character'", quote(as.character(FUN))).

SEED used: 1615091776

[2015-02-03 22:59:46] [ERROR] : TEST FAILED
No traceback available

Assignee

New H2O Bugs

Reporter

Kevin Normoyle

Labels

None

CustomerVisible

No

testcase 1

None

testcase 2

None

testcase 3

None

h2ostream link

None

Affected Spark version

None

AffectedContact

None

AffectedCustomers

None

AffectedPilots

None

AffectedOpenSource

None

Support Assessment

None

Customer Request Type

None

Support ticket URL

None

End date

None

Baseline start date

None

Baseline end date

None

Task progress

None

Task mode

None

Components

Priority

Major
Configure