Closed kpj closed 2 years ago
Hi. Not a bug, but you've got a typo. See https://github.com/HenrikBengtsson/future/discussions/603.
This is the second one in a short time. Are you by any chance following an example online that has these instructions? If so, which?
Ah, thanks a lot for pointing me to the discussion! I only searched for similar issues and did not find anything mentioning makeNode
. Using workers
instead of worker
fixes the issue for me as well.
I checked which examples I looked at the past few days:
But they all either don't mention the workers
parameter at all or use the corrected pluralized form.
So I think I just read through the documentation too quickly.
Thanks for checking
For what it's worth, this is an easy typo to make. How hard would it be to write a test to flag it ... ? (I realize that it gets passed down through ...
so maybe not so easy)
Describe the bug When trying to set the plan to
multisession
, the following error occurs:I was able to fix the error by explicitly setting
makeNode = makeNodePSOCK
in the functionmakeClusterPSOCK
in the packageparallelly
after https://github.com/HenrikBengtsson/parallelly/blob/d02e13027e53f1cf4ab195513912cf8777ff8057/R/makeClusterPSOCK.R#L63. But there must be a better solution.Reproduce example
Expected behavior I expected the plan to change and no error to occur.
Session information
Funnily enough, the crash also occurs for
future::futureSessionInfo()
.