Only works if the cache is a file system in a folder named .drake (default).

find_project(path = getwd())

Arguments

path

starting path for search back for the project. Should be a subdirectory of the drake project.

Value

File path of the nearest drake project or NULL if no drake project is found.

See also

drake_plan(), make()

Examples

# NOT RUN {
test_with_dir("Quarantine side effects.", {
load_basic_example() # Get the code with drake_example("basic").
make(my_plan) # Run the project, build the target.
# Find the root directory of the current drake project.
# Search up through parent directories if necessary.
find_cache()
})
# }