Skip to content

Commit

Permalink
with ignore_attr = TRUE
Browse files Browse the repository at this point in the history
  • Loading branch information
bburns632 committed Nov 11, 2024
1 parent 2de0fd3 commit daa19fa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/testthat/test-DirectedGraph.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ for (thisTest in testList) {
expect_equal(
object = reporter$pkg_graph$node_measures(nodeMeas)
, expected = expectedNodeMeasuresDT[, lapply(.SD, function(x) replace(x, is.na(x), NaN)), .SDcols = c('node', nodeMeas)]
, ignore.col.order = TRUE
, ignore.row.order = TRUE
, tolerance = 0.01
, ignore_attr = TRUE
, info = sprintf("Value testing for %s, %s : %s /n obj: %s /n exp %s"
, thisTest[['pkg']]
, thisTest[['reporter']]
Expand Down

0 comments on commit daa19fa

Please sign in to comment.