Skip to content

Commit

Permalink
Avoid MS Windows check NOTE [#6]
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Apr 12, 2024
1 parent 0341a3b commit d4c57e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: future.mirai
Version: 0.1.1-9012
Version: 0.1.1-9013
Depends:
future
Imports:
Expand Down
6 changes: 4 additions & 2 deletions tests/globals,nested.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
library(future.mirai)
plan(mirai_multisession, workers = I(1))
mirai::daemons(1, dispatcher = FALSE)
plan(mirai_cluster

g <- function() 42
h <- function() g()
Expand All @@ -10,4 +11,5 @@ print(v)
stopifnot(v == h())

plan(sequential)
mirai::daemons(0)
mirai::daemons(0) ## Reset any daemons running
gc()

0 comments on commit d4c57e4

Please sign in to comment.