Open a project's lockfile (if any) for editing. After edit, if the lockfile edited is associated with the active project, any state-related changes (e.g. to R repositories) will be updated in the current session.
modify(project = NULL)
The project directory. If NULL
, then the active
project will be used. If no project has been specifically activated,
the current working directory is used.