Hi all,
I am facing an issue while using renv
in R.
The issue, once installing renv in my project folder(Renv_Project). I get below that is fine
.libPaths()
[1] "C:/Main/Renv_Project/renv/library/R-4.1/x86_64-w64-mingw32" "C:/Program Files/R/R-4.1.0/library"
After initiating renv, when I try to install.packages("shiny")
I get below. I mean its not loading at all.
Any issues with renv ??
have you loaded renv as a library?
Yes. I did load it.
Not sure why i am unable to install it. Nothing processes as shown in above pic
what happens if you do
renv::install("shiny")
?
Also, if R seems to be misbehaving in the console, its often a good idea to do a restart on the session (and not save/restore workspace)
same thing. Nothing happens.
I will create a new project and try once
Just tried with new project. Same thing happens.
FYI : Earlier I had set below manually. But this will not cause the issue right?
So my team members, said they are using different versions of libraries. Therefore I thought to make it consistent using renv
but I am facing this issue
.libPaths(“C:/Main/R”)
@nirgrahamuk This might help you to debug
When I saw renv.lock file , below is what I got. It is suppose to have all packages right?
system
Closed
August 1, 2022, 12:13pm
8
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.