R/archiveFolders.R
RestoreArchives.Rd
Restore Html, Txt, and IndexHtml folders previously archived with in .tar.gz files with ArchiveFolders().
RestoreArchives(html = FALSE, indexHtml = FALSE, txt = FALSE, overwrite = FALSE, project = NULL, website = NULL)
html | Logical, defaults to FALSE. If TRUE, restores previously archived html files in their standard folder. |
---|---|
indexHtml | Logical, defaults to FALSE. If TRUE, restores previously archived indexHtml files in their standard folder. |
txt | Logical, defaults to FALSE. If TRUE, restores previously archived txt files in their standard folder. |
project | Name of 'castarter' project. Must correspond to the name of a folder in the current working directory. |
website | Name of a website included in a 'castarter' project. Must correspond to the name of a sub-folder of the project folder. |
If the option overwrite is enabled, the function will overwrite files in Html, IndexHtml and Txt folders.
# NOT RUN { RestoreArchives(project, website, removeArchivedFolders = FALSE) # }