Learn R Programming

crunch (version 1.20.0)

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.

force

logical Attempt to push through merge conflicts by dropping all changes to dataset that occurred after fork diverged from and take only the changes from fork? Default is FALSE. You should only use force=TRUE after first attempting and failing to merge without forcing.

Value

dataset with changes from fork merged to it.