Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
doncqueurs opened this issue Feb 5, 2021 · 4 comments
Open

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

doncqueurs opened this issue Feb 5, 2021 · 4 comments

Comments

@doncqueurs
Copy link

doncqueurs commented Feb 5, 2021

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
Copy link
Contributor

dokato commented Feb 11, 2021

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
Copy link

jlbarr commented May 5, 2023

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

@tech-team-rural-mda
Copy link

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
Copy link

Is this project dead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants