Learn R Programming

crunch (version 1.14.4)

mergeFork: Merge changes to a dataset from a fork

Description

Merge changes to a dataset from a fork

Usage

mergeFork(dataset, fork, autorollback = TRUE, force = FALSE)

Arguments

dataset
The CrunchDataset to merge to
fork
The CrunchDataset, perhaps forked from dataset, that is to be merged in.
autorollback
logical If the merge fails, should dataset be restored to its state prior to the merge, or should it be left in its partially merged state for debugging and manual fixing? Default is TRUE, i.e. the former.
force
logical Attempt to push through merge conflicts by dropping all changes to dataset since fork diverged from and take only the changes from fork? Default is FALSE, and it is recommended only to use force=TRUE after first attempting and failing to merge without forcing.

Value

dataset with changes from fork merged to it.