Open joelnitta opened 1 year ago
These lines work fine when running interactively, but hang when rendering with sandpaper::build_lesson():
sandpaper::build_lesson()
https://github.com/carpentries-incubator/targets-workshop/blob/2c19e320e12a9cf8e55016bdcbb81b57c5dd2bc7/episodes/parallel.Rmd#L132-L138
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.
These lines work fine when running interactively, but hang when rendering with
sandpaper::build_lesson()
:https://github.com/carpentries-incubator/targets-workshop/blob/2c19e320e12a9cf8e55016bdcbb81b57c5dd2bc7/episodes/parallel.Rmd#L132-L138
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.