Finalise Code Run and push associated metadata to the local registry.
finalise(handle, delete_if_empty = FALSE, delete_if_duplicate = FALSE)
an object of class fdp, R6
containing metadata required
by the Data Pipeline API
(optional) default is FALSE
; see Details
(optional) default is FALSE
; see 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
.