mrc-ide / rrq

:runner::runner::runner: Lightweight Redis queues
https://mrc-ide.github.io/rrq/
Other
24 stars 4 forks source link

MRC-538: remove use of context/queuer #9

Closed richfitz closed 5 years ago

richfitz commented 5 years ago

This PR removes use of the context and queuer packages from rrq. Doing this will allow us to do two things:

The bulk of the new code here was directly copied in from context / queuer with simplifications to remove unused code branches. The code in expression.R will change when we do bulk submission, and includes a couple of options that are not (yet) exposed to enqueue. The progress bar bits are all a bit tedious, but nice for interactive use.

codecov[bot] commented 5 years ago

Codecov Report

Merging #9 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #9    +/-   ##
======================================
  Coverage     100%   100%            
======================================
  Files          14     16     +2     
  Lines         849    955   +106     
======================================
+ Hits          849    955   +106
Impacted Files Coverage Δ
R/rrq_controller.R 100% <100%> (ø) :arrow_up:
R/expression.R 100% <100%> (ø)
R/worker_run.R 100% <100%> (ø) :arrow_up:
R/utils.R 100% <100%> (ø) :arrow_up:
R/worker_messages.R 100% <100%> (ø) :arrow_up:
R/worker_spawn.R 100% <100%> (ø) :arrow_up:
R/time.R 100% <100%> (ø)
R/worker.R 100% <100%> (ø) :arrow_up:

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 83f4811...066fc98. Read the comment docs.