gets a reverse directory listing and then finds the lowest directory that contains an indication of there being a project in the directory this should work where the `here` package does not (particularly when knitting in CRAN checks for example, or running in a non package project)
Usage
.locate_project(inputFile = .this_script())
Examples
try({
.locate_project()
})
#> Error in .locate_project() : could not find function ".locate_project"