mschubert / clustermq

R package to send function calls as jobs on LSF, SGE, Slurm, PBS/Torque, or each via SSH
https://mschubert.github.io/clustermq/
Apache License 2.0
145 stars 26 forks source link

Error/warning summary does not prioritize correctly #304

Closed mschubert closed 11 months ago

mschubert commented 11 months ago

When summarizing errors, they are currently ordered by comparing characters.

Error in summarize_result(re$result, length(re$errors), length(re$warnings),  :
  1/17183 jobs failed (5834 warnings). Stopping.
(#10) It appears as if you have specified a lower bounded prior on a pa
(#1000) It appears as if you have specified a lower bounded prior
(#10001) Examine the pairs() plot to diagnose
# actual error is not shown

Instead, they should be:

  1. ordered by integer index
  2. prioritizing errors over warnings