Description Usage Arguments Details Value Examples
Migrate an orderly archive. This is needed periodically when the
orderly archive version changes. If you get a message like
orderly archive needs migrating from a.b.c => x.y.z
then
you need to run this function. The archive version is at most
equal to the package version.
1 2 3 4 5 6 7 8 |
root |
The path to an orderly root directory, or |
locate |
Logical, indicating if the configuration should be
searched for. If |
to |
The version to migrate to. The default is the current archive version; this is almost always what is wanted. |
dry_run |
Logical, indicating if we should try running the migration but not actually applying it. This is intended primarily for developing new migrations and will probably not work if you are multiple archive versions behind. |
skip_failed |
Logical, where |
clean |
Logical, where |
Sometimes we add change information saved out in the orderly run.
This requires patching previously run versions of the orderly
metadata and that's not something we want to do lightly. This
function uses a relatively safe, and reversible, way of migrating
metadata. We modify the orderly_run.rds
files, but will
create versioned backups as files are changed.
No return value, this function is called only for its side effects
1 2 3 4 | # Without an orderly repository created by a previous version of
# orderly, this function does nothing interesting:
path <- orderly::orderly_example("minimal")
orderly::orderly_migrate(path)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.