Extract logic from Devtools::Tasks::Flay.call into separate methods