Only works if the cache is a file system in a
hidden folder named .drake/
(default).
Usage
find_cache(path = getwd(), dir = NULL, directory = NULL)
Examples
if (FALSE) { # \dontrun{
isolate_example("Quarantine side effects.", {
if (suppressWarnings(require("knitr"))) {
load_mtcars_example() # Get the code with drake_example("mtcars").
make(my_plan) # Run the project, build the target.
# Find the file path of the project's cache.
# Search up through parent directories if necessary.
find_cache()
}
})
} # }