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

error in clusbootglm when parallel::detectCores() gives NA #18

Open
mathijsdeen opened this issue Dec 13, 2023 · 0 comments
Open

error in clusbootglm when parallel::detectCores() gives NA #18

mathijsdeen opened this issue Dec 13, 2023 · 0 comments

Comments

@mathijsdeen
Copy link
Owner

In very specific cases (e.g., when using webR as a WebAssembly implementation of R), parallel::detectCores() gives NA, which leads to an error when the argument value of n.cores is compared to the total number of cores available ('missing value where TRUE/FALSE needed').

Fix: check for NA in tt_cores.

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

1 participant