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

parallelization example hangs when rendering #26

Open
joelnitta opened this issue Nov 10, 2023 · 0 comments
Open

parallelization example hangs when rendering #26

joelnitta opened this issue Nov 10, 2023 · 0 comments

Comments

@joelnitta
Copy link
Collaborator

joelnitta commented Nov 10, 2023

These lines work fine when running interactively, but hang when rendering with sandpaper::build_lesson():

# plan_10_dir <- make_tempdir()
# pushd(plan_10_dir)
# write_example_plan("plan_9.R")
# tar_make(reporter = "silent")
# write_example_plan("plan_10.R")
# tar_make()
# popd()

It seems that in the latter case, all cores are getting used instead of just 2.

Work-around for now is to hard-code the output, but obviously that is not ideal.

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