It can be used as file_outline() + proj.
Arguments
- file
A filename or regexp to a file inside
proj- path
a project path
proj_path(). IfNULL, will return active project.- pattern
A regular expression to look for
See also
Other project management helpers:
proj-reuseme,
proj_path(),
proj_switch()
Examples
try(proj_file("A non-existent file"))
#> Error in as.character(x) :
#> cannot coerce type 'closure' to vector of type 'character'