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)

Arguments

only_if_copied

If TRUE, the cache is only deleted if it was copied

cache_data

The list of copied files, returned by copy_cache()

Value

The list of copied files is returned invisibly.