R/project.R
check_project.Rd
Errors if the given path is not inside a uv project (both pyproject.toml and uv.lock must be present).
pyproject.toml
uv.lock
check_project(path = ".")
Directory to check. Defaults to the current working directory.
Invisibly returns the project root if a uv project is detected.
if (FALSE) check_project() # \dontrun{}