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 3 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