Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Fix last released version's additional issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed Mar 19, 2019
1 parent 591b45f commit 6c0d003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test-rarefaction.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_that("Rarefaction", {
expected <- c(`1` = 6.56, `2` = NA)
index <- rarefaction(trap, 13)

expect_identical(round(index, digits = 2), expected)
expect_equal(round(index, digits = 2), expected)

freq <- as(trap, "FrequencyMatrix")
expect_error(rarefaction(freq, 13))
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-richness.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test_that("Richness", {
dimnames = list(c(1,2), method))

index <- richness(trap, method, simplify = TRUE)
expect_identical(round(index, digits = 2), expected)
expect_equal(round(index, digits = 2), expected)

# Frequency data
freq <- as(trap, "FrequencyMatrix")
Expand Down

0 comments on commit 6c0d003

Please sign in to comment.