shiny.worker icon indicating copy to clipboard operation
shiny.worker copied to clipboard

Strategy 'multiprocess' is deprecated in future (>= 1.20.0)

Open doncqueurs opened this issue 5 years ago • 4 comments

When I run the example "shiny.worker demo" I get the following error message:

Warning: Strategy 'multiprocess' is deprecated in future (>= 1.20.0). Instead, explicitly specify either 'multisession' or 'multicore'. In the current R session, 'multiprocess' equals 'multisession'.

When I replace (in worker.R):

#' Initialize the worker's registry
initialize = function() {
   plan(multiprocess)
},

with:

initialize = function() {
   plan(multisession)
},

Things work fine.

doncqueurs avatar Feb 05 '21 12:02 doncqueurs

multisession has some troubles on Windows now, thus we decided to stick to more stable multiprocess. We will migrate once the problems on Windows will be resolved.

dokato avatar Feb 11 '21 11:02 dokato

Any updates on this issue? I am seeing the same thing.

jlbarr avatar May 05 '23 15:05 jlbarr

The shiny.worker package no longer works at all because of its use of the 'multiprocess' value:

Error in eval(first, envir = parent.frame(), enclos = baseenv()) : 
  object 'multiprocess' not found

tech-team-rural-mda avatar Nov 11 '23 18:11 tech-team-rural-mda

Is this project dead?

tech-team-rural-mda avatar Nov 11 '23 18:11 tech-team-rural-mda