Appsilon / shiny.worker

Intra-session reactivity in Shiny
https://appsilon.github.io/shiny.worker/
Other
61 stars 5 forks source link

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

Open doncqueurs opened 3 years ago

doncqueurs commented 3 years ago

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.

dokato commented 3 years ago

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.

jlbarr commented 1 year ago

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

tech-team-rural-mda commented 11 months ago

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 commented 11 months ago

Is this project dead?