Skip to content

Commit 09e7511

Browse files
Use all.equal() instead of identical() to compare future plans
1 parent 85fc57f commit 09e7511

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: future.tests
22
Title: Test Suite for 'Future API' Backends
3-
Version: 0.8.0-9003
3+
Version: 0.8.0-9004
44
Authors@R: c(
55
person("Henrik", "Bengtsson", role = c("aut", "cre", "cph"), email = "[email protected]"),
66
person(family = "The R Consortium", comment = "Project was awared an Infrastructure Steering Committee (ISC) grant in 2017", role = "fnd"))

R/state.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,9 @@ db_state <- local({
208208
## WORKAROUND: https://github.com/HenrikBengtsson/future/issues/320
209209
state_plan <- state$plan
210210
plan(state_plan)
211-
212-
## Assert that everything was properly undone
211+
213212
## FIXME: 'future' should guarantee this - just drop? /HB 2025-04-02
214-
stop_if_not(equal_strategy_stacks(plan("list"), state_plan))
213+
stop_if_not(all.equal(plan("list"), state_plan))
215214
}
216215

217216
# message("*** ", state$title, " ... DONE")

0 commit comments

Comments
 (0)