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

Remove the appearance of staged parallelism for single-job runthroughs. #371

Merged
merged 3 commits into from
May 2, 2018

Conversation

wlandau
Copy link
Member

@wlandau wlandau commented May 2, 2018

Summary

Previously, make(jobs = 1) gave the appearance of checking parallel stages. Now, the code (run_lapply()) conceptually matches what is actually happening. Also, there is a new build_check_store() function that will likely be shared over most of the backends before I am through with #369.

This PR also fixes some bugs in #370.

GitHub issues addressed

Checklist

  • I have read drake's code of conduct, and I agree to follow its rules.
  • I have read the guidelines for contributing.
  • I have listed any substantial changes in the development news.
  • I have added testthat unit tests to tests/testthat to confirm that any new features or functionality work correctly.
  • I have tested this pull request locally with devtools::check()
  • This pull request is ready for review.
  • I think this pull request is ready to merge.

@wlandau wlandau self-assigned this May 2, 2018
@codecov-io
Copy link

codecov-io commented May 2, 2018

Codecov Report

Merging #371 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #371      +/-   ##
==========================================
- Coverage     100%   99.98%   -0.02%     
==========================================
  Files          66       66              
  Lines        5469     5474       +5     
==========================================
+ Hits         5469     5473       +4     
- Misses          0        1       +1
Impacted Files Coverage Δ
R/graph.R 100% <ø> (ø) ⬆️
R/parLapply.R 100% <100%> (ø) ⬆️
R/envir.R 98.97% <100%> (-1.03%) ⬇️
R/make.R 100% <100%> (ø) ⬆️
R/mclapply.R 100% <100%> (ø) ⬆️
R/build.R 100% <100%> (ø) ⬆️
R/lapply.R 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7fb0eef...c464f18. Read the comment docs.

@wlandau wlandau merged commit 778749b into master May 2, 2018
@wlandau wlandau deleted the i369-lapply branch May 2, 2018 22:35
@wlandau-lilly wlandau-lilly restored the i369-lapply branch May 3, 2018 15:52
@wlandau wlandau deleted the i369-lapply branch May 3, 2018 19:43
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

Successfully merging this pull request may close these issues.

3 participants