Skip to content

detritus check NOTE #653

Answered by HenrikBengtsson
joelnitta asked this question in Q&A
Oct 2, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

This is most likely because there are some left-over background workers still running at the end of R CMD check. This only happens on MS Windows, where clusters can survive the main R session that launched them. You need to test on R-devel (>= 4.3.0) to reproduce this locally.

If you use plan(multisession) is your vignettes or package tests(*), make sure to stop the parallel workers at the end by calling plan(sequential). I've now documented this is https://future.futureverse.org/articles/future-7-for-package-developers.html#making-sure-to-stop-parallel-workers (as well as in https://parallelly.futureverse.org/reference/makeClusterPSOCK.html)

(*) This can currently happen in vignettes or …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@joelnitta
Comment options

@HenrikBengtsson
Comment options

@joelnitta
Comment options

Answer selected by joelnitta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants