elbersb / segregation

R package to calculate entropy-based segregation indices, with a focus on the Mutual Information Index (M) and Theil’s Information Index (H)
https://elbersb.com/segregation
Other
35 stars 3 forks source link

Test failure with dev testthat #4

Closed hadley closed 4 years ago

hadley commented 4 years ago

This test now fails: https://github.com/elbersb/segregation/blob/master/tests/testthat/test_mutual_total.R#L19-L23

It looks like you've accidentally supplied three arguments to expect_equal().

elbersb commented 4 years ago

fixed -- I'll probably do a CRAN release within the next week or so

hadley commented 4 years ago

Thanks! (But no rush since dev testthat is at least >60 days out)