I tend to engage in procrastination if my console is busy for more
than 10 seconds. Using job() keeps me in the flow. Here are
some commands I regularly job, either via code or via the
addins.
brms,
mcp, blavaan.tidymodels or mlr3.Using empty jobs (job::empty() or “empty” addin) makes a
lot of sense for these:
update.packages(ask = FALSE)devtools::build()pkgdown::build_site(preview = FALSE)knitr::knit()Wrap these in job::job({print(<command>)}) to
print the text inside the job. Now you can, in good conscience, clean
your console because you know that the important output is saved in a
job.
devtools::test() (see more in testing code)brms::loo_compare(model1, model2)