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"))
#> Warning: is.na() applied to non-(list or vector) of type 'closure'
#> Error in enc2utf8(path) : argument is not a character vector