I have a project where I used renv::use_python() to start tracking python dependencies. Later, I no longer need to use python, but there doesn't seem to be a clean way to remove the python virtual environment and dependency tracking.
It looks like the steps to remove python are:
- Remove the "Python" JSON block from the top level of
renv.lock.
- Remove the directory
renv/python and its contents.
- Remove
requirements.txt