Skip to content

Commit f997304

Browse files
Troubleshoot detritus files - take 2
1 parent f02feaa commit f997304

File tree

3 files changed

+10
-15
lines changed

3 files changed

+10
-15
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
mirai::daemons(2)
2+
print(mirai::status())
3+
mirai::daemons(0)
4+
print(mirai::status())
5+

inst/testme/test-daemons.R

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
library(future.mirai)
2-
3-
options(future.demo.mandelbrot.nrow = 2L)
4-
options(future.demo.mandelbrot.resolution = 50L)
5-
options(future.demo.mandelbrot.delay = FALSE)
6-
7-
message("*** Demos ...")
8-
9-
message("*** Mandelbrot demo of the 'future' package ...")
10-
11-
plan(mirai_multisession, workers = 2)
12-
demo("mandelbrot", package = "future", ask = FALSE)
13-
plan(sequential)
14-
15-
message("*** Demos ... DONE")
1+
mirai::daemons(2)
2+
print(mirai::status())
163

tests/test-daemons-shutdown.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## This runs testme test script incl/testme/test-daemons-shutdown.R
2+
## Don't edit - it was autogenerated by inst/testme/deploy.R
3+
future.mirai:::testme("daemons-shutdown")

0 commit comments

Comments
 (0)