Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Detect a future parallel backend #711

Closed
talegari opened this issue Jan 18, 2024 · 1 comment
Closed

Detect a future parallel backend #711

talegari opened this issue Jan 18, 2024 · 1 comment

Comments

@talegari
Copy link

As a package developer, I need to know if user is using a parallel backend or not. Is there a better way than parallel_flag = !("sequential" %in% class(future::plan())) ?

@scottkosty
Copy link

You can see here for one approach.

By the way, I'm curious about your specific use case. Why, as a package developer, do you need to know if the user is using a parallel backend or not?

@futureverse futureverse locked and limited conversation to collaborators Jan 18, 2024
@HenrikBengtsson HenrikBengtsson converted this issue into discussion #712 Jan 18, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

2 participants