我有一个使用 R 3.6 的项目,我已将 R 升级到 4.0.2,并希望在该项目中使用 4.0.2。我想知道如何去做,或者我应该完全删除renv/
并重建?
编辑
我做了以下事情:
> renv::init()
This project already has a lockfile. What would you like to do?
1: Restore the project from the lockfile.
2: Discard the lockfile and re-initialize the project.
3: Activate the project without snapshotting or installing any packages.
4: Abort project initialization.
并且2
从上面选择,这似乎是合理的。