I was trying to create r environment for my R project. When I run renv::init(), I get the following error:
RStudio version: 1.4.1717
R version : 3.6.3
OS : Windows 10 Enterprise
Steps I took:
- Created a new project in RStudio
- Added a simple file with only one command, 'library(tidyverse)' and saved it in the project.
- Run 'renv::init()' in the project dir. Then I get the error.
PS: All these steps worked for R version 4.1.0. Version 4.1.2 gave me the same error.
I'm not able to find the right resource or help.