powered by
find_cache
Return the file path of the nearest drake cache (searching upwards for directories containing a drake cache). Only works if the cache is a file system in a hidden folder named .drake.
.drake
find_cache(path = getwd(), directory = basename(drake::default_cache_path()))
starting path for search back for the cache. Should be a subdirectory of the drake project.
Name of the folder containing the cache.
File path of the nearest drake cache or NULL if no cache is found.
NULL
workplan, make,
workplan
make
# NOT RUN { load_basic_example() make(my_plan) find_cache() # }
Run the code above in your browser using DataLab