This package exists to smooth over the difference between orderly1
and orderly2
while we manage the migration between the two packages. It will allow you to refer to either (but at the same time only one) of the packages by its namespace, so that
orderly::orderly_run(...)
will run orderly_run
in one of the packages.
Within an orderly repo, you can then run:
orderly.helper::activate()
which will configure everything for you.
Alternatively, run
orderly.helper::use()
which will set up orderly based on your personal preferences.
If you don't want to think about any of this, you can call
orderly.helper::auto()
We recommend adding to your .Rprofile
:
options(orderly.version = 2, orderly.helper.verbose = TRUE)
if (!require("orderly.helper", quietly = TRUE)) {
orderly.helper::auto()
}
With the two options configured as you prefer.
To install orderly.helper
:
remotes::install_github("mrc-ide/orderly.helper", upgrade = FALSE)
MIT © Imperial College of Science, Technology and Medicine