Removes the local clones of Overleaf projects kept by grattan_save_overleaf and fetch_overleaf_report. Anything already pushed to Overleaf is unaffected; a clone is downloaded again the next time it's needed.

overleaf_clear_cache(project = NULL)

Arguments

project

An Overleaf project URL or ID. If NULL (the default), every cached project is deleted.

Value

The paths that were deleted, invisibly.

Examples

if (FALSE) { # \dontrun{
# Delete everything
overleaf_clear_cache()

# Delete a single project
overleaf_clear_cache("https://www.overleaf.com/project/0123456789abcdef01234567")
} # }