manySims test is horrible
Closed this issue · 2 comments
timcdlucas commented
expect_true(all(sapply(manySims, function(x) length(unique(apply(x, 1, table))) > 1)))
This line is horrible for a tutorial. Not sure how to many it easier though.
t-pollington commented
Noted added to my list.
…________________________________
From: Tim Lucas <notifications@github.com>
Sent: 25 April 2020 12:34
To: timcdlucas/unit_test_for_infectious_disease <unit_test_for_infectious_disease@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [timcdlucas/unit_test_for_infectious_disease] manySims test is horrible (#7)
expect_true(all(sapply(manySims, function(x) length(unique(apply(x, 1, table))) > 1)))
This line is horrible for a tutorial. Not sure how to many it easier though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#7>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEY2YDXAVIZG7JTEDEB43R3ROLDFTANCNFSM4MQWWVQA>.
timcdlucas commented
This was a note for myself which is why I was happy to be rude about it! If you do think of something that'd be great, but please don't think I was giving you a task or something.