R/copy_cache.R
copy_cache.Rd
When GitHub repositories for a Classroom assessment are cloned, the data
cache is not present. For large datasets, it may take a long time to get
the data from an URL for each repository. By using a single version of the
data cache, on can populated the corresponding folder in each repository.
The CC()
function can be used to remove the data from the cache.
copy_cache()
CC(only_if_copied = FALSE, cache_data = cache_data)
If TRUE
, the cache is only deleted if it was copied
The list of copied files, returned by copy_cache()
The list of copied files is returned invisibly.