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)

Arguments

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.

Warning

If the option overwrite is enabled, the function will overwrite files in Html, IndexHtml and Txt folders.

Examples

# NOT RUN {
RestoreArchives(project, website, removeArchivedFolders = FALSE)
# }