Description Usage Arguments Details Value Note Author(s)
These are convenience functions which clears the intermediate files generated during the build process. This is important when, e.g., building a repository for the first time with a new version of R.
1 2 3 | clear_temp_files(repo, checkout = FALSE, logs = FALSE)
clear_repo(repo, all = TRUE, checkout = FALSE, archivedir = NA)
|
repo |
GRANRepository - The repository to clean |
checkout |
logical - Should the checkouts of packages also be cleared. Generally this is not necessary (default: FALSE) |
logs |
logical - should the logs (check, install, and single package) be cleared (default: FALSE) |
all |
logical - Should temporary artifacts from the build process also be cleared (via automatically calling clear_temp_files). Defaults to TRUE |
archivedir |
character - Optional. A directory where build packages deployed to the repository will be archived. Package versions already in the archive will not be overwritten. |
clear_repo
removes packages deployed into the destination repository,
updates the PACKAGES and PACKAGES.gz files, and resets the build results within the
GRANRepository object. clear_temp_files
clears
intermediate files from the library location used during building, the temporary
repository, the package staging area, and the store of install- and check-results.
The GRANRepository object, ready to be rebuilt.
It is not advised to clear the logs in a direct call to clear_temp_files
. use clear_repo
instead.
Gabriel Becker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.