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 #1

Open
HenrikBengtsson opened this issue Feb 29, 2024 · 2 comments
Open

Please do not change future options #1

HenrikBengtsson opened this issue Feb 29, 2024 · 2 comments

Comments

@HenrikBengtsson
Copy link

HenrikBengtsson commented Feb 29, 2024

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

parseRPDR/R/ZZZ.R

Lines 1 to 4 in aec45d7

.onAttach <- function(libname, pkgname) {
options(future.globals = TRUE)
options(future.globals.maxSize = +Inf)
options(future.chunk.size = 1.0)

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.

@CAndrewBasham
Copy link

CAndrewBasham commented Mar 1, 2024 via email

@HenrikBengtsson
Copy link
Author

Just checking back in on this one. I see you submitted on parseRPDR 1.1.1 on 2024-04-03 to CRAN, after I filed this issue.

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