Drops a backup suffix from the backup pathname
Drops a backup suffix from the backup pathname and, by default, restores an existing backup file accordingly by renaming it.
# S3 method for default popBackupFile(filename, path=NULL, suffix=".bak", isFile=TRUE, onMissing=c("ignore", "error"), drop=TRUE, ..., verbose=FALSE)
The filename of the backup file.
The path of the file.
The suffix of the filename to be dropped.
characterstring specifying what to do if the backup file does not exist.
TRUE, the backup file will be dropped in case the original file already exists or was successfully restored.
Returns the pathname with the backup suffix dropped.
pushBackupFile() for more details and an example.