findConfigFile.Rd
findConfigFile
returns the path to a config file for a project
given a particular folder. It allows a projectName
or a
projectConfig
to take precedence in the search, but it searches
for files with suitable config-like default names. It also allows a
projectName
with which to create another high-priority filename
to look for.
findConfigFile(projectFolder, projectConfig = NULL, projectName = NULL)
projectFolder | Path to folder for project. |
---|---|
projectConfig | Specific config file name, given top priority for the search. |
projectName | Name for the project, from which a secondary high-priority config file name is derived. |
Path to the top-prioirty config file found; NULL
if no
config file could be found.