finalise: Finalise code run

Description Usage Arguments Details

View source: R/finalise.R

Description

Finalise Code Run and push associated metadata to the local registry.

Usage

1
finalise(handle, delete_if_empty = FALSE, delete_if_duplicate = FALSE)

Arguments

handle

an object of class fdp, R6 containing metadata required by the Data Pipeline API

delete_if_empty

(optional) default is FALSE; see Details

delete_if_duplicate

(optional) default is FALSE; see Details

Details

If a Code Run does not read an input, write an output, or attach an issue, then delete the Code Run entry when delete_if_empty is set to TRUE.

If a data product has the same hash as a previous version, remove it from the registry when delete_if_duplicate is set to TRUE.


rDataPipeline documentation built on Nov. 18, 2021, 1:14 a.m.