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

Please do not change future options #6

Closed
HenrikBengtsson opened this issue Feb 29, 2024 · 1 comment
Closed

Please do not change future options #6

HenrikBengtsson opened this issue Feb 29, 2024 · 1 comment

Comments

@HenrikBengtsson
Copy link

Hello. Please do not set future options from within your package, as in:

options(future.globals.maxSize = +Inf)

This might have unintended side effects for other packages and risk producing incorrect results elsewhere. R options are meant for end-users, not developers. If you need to tweak the settings, please do so temporarily, as explained in https://future.futureverse.org/articles/future-7-for-package-developers.html#avoid-changing-the-future-options.

@monty-se
Copy link
Owner

monty-se commented May 6, 2024

@HenrikBengtsson Thanks for raising the issue. I have deleted the line that modifies the future options from the within the package. I might reuse the solution you have suggested in case I need to tweak the options in the future.

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

2 participants