Skip to content

Commit

Permalink
ignore dimnames checking for equality
Browse files Browse the repository at this point in the history
  • Loading branch information
Aariq committed Aug 21, 2024
1 parent 99f4b51 commit 36df4f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/test-tar-terra-tiles.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,7 @@ targets::tar_test("recombined tiles are equal to original", {
targets::tar_make()
targets::tar_load(c(my_map, rast_split))
recombined <- terra::merge(terra::sprc(rast_split))
expect_equal(terra::values(my_map), terra::values(recombined))
names(recombined) <- names(my_map) <- 1:3 #ignore dimnames because of bug #89
expect_equal(terra::values(my_map),
terra::values(recombined))
})

0 comments on commit 36df4f9

Please sign in to comment.