Learn R Programming

drake (version 4.2.0)

find_project: Function find_project

Description

Return the file path of the nearest drake project (searching upwards for directories containing a drake cache). Only works if the cache is a file system in a folder named .drake.

Usage

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

plan, make

Examples

Run this code
# NOT RUN {
load_basic_example()
make(my_plan)
find_project()
# }

Run the code above in your browser using DataLab