Finalise Code Run and push associated metadata to the local registry.
finalise(handle, delete_if_empty = FALSE, delete_if_duplicate = FALSE)
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
.