Incorrect state The mirai dispatcher is not running. Please call the start[help] #1225
-
Help
DescriptionHi, My issue is that I am constatnly running into the following error:
I cannot create a reprex for it because the project is already very large and contains sensitive data, but the triggering problem is that a pattern involves a large number of small targets, and the objects are saved in an onedrive folder (I assume this is the problem). Furthermore, the error only occurs on Windows and not on Mac, and only in the case of the many small patterns. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The advice at #1217 (reply in thread) could help. Other than that, you could try upgrading remotes::install_github("wlandau/crew")
remotes::install_github("ropensci/targets")
A reprex in your case might look like this. Does it reproduce the issue on your end? library(targets)
controller <- crew_controller_local(workers = 4)
tar_option_set(controller = controller)
list(
tar_target(x, seq_len(1000)),
tar_target(y, Sys.sleep(0.1), pattern = map(x)) # Adjust the seconds in Sys.sleep() as needed.
)
This is very likely to cause problems in general. Best to put the project (or at least the data store) in fast storage without a lot of temporary files flying around. |
Beta Was this translation helpful? Give feedback.
The advice at #1217 (reply in thread) could help. Other than that, you could try upgrading
nanonext
andmirai
to their CRAN versions andcrew
andtargets
to their current development versions:A reprex in your case might look like this. Does it reproduce the issue on your end?