Skip to content

Commit

Permalink
update tests and export s3 method
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahParry committed Feb 17, 2024
1 parent 91699dd commit 3c02bcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Generated by roxygen2: do not edit by hand

S3method("[",spacetime)
S3method("[[",spacetime)
S3method(activate,spacetime)
S3method(as_spacetime,sf)
S3method(print,spacetime)
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-node_get.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test_that("nbs is spdep compliant", {
mutate(
nb = node_get_nbs(),
elist = node_get_edge_list(),
wt = node_get_edge_col(elist, "len")
wt = node_get_edge_col(nb, "len")
)


Expand All @@ -48,7 +48,7 @@ test_that("nbs is spdep compliant", {

expect_equal(
nb,
lapply(ig_adj_list, as.integer),
lapply(ig_adj_list, function(.x) unique(.x)),
ignore_attr = TRUE
)

Expand Down

0 comments on commit 3c02bcb

Please sign in to comment.