When an archive object is being saved, if this is occurring at the same time
as another process doing the same thing, a stub of a artifact occurs. This
function will clear those stubs.
Usage
clearStubArtifacts(repoDir = NULL)
"clearStubArtifacts"(repoDir = NULL)
Arguments
repoDir
A character denoting an existing directory of the Repository for
which metadata will be returned. If it is set to NULL (by default), it
will use the repoDir specified in archivist::setLocalRepo.