SpaDES (version 1.3.1)

clearStubArtifacts: Clear erroneous archivist artifacts

Description

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)

# S4 method for ANY 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.

Value

Done for its side effect on the repoDir