Can't install any package in personal library (it tries to load(tidyverse))

Hello, community!

I'm working on a screen in a Debian server and I was able to install packages in a personal library. Still, I had to delete it and now I'm not able to install packages anymore in any library.
Furthermore, every package that I try to install returns the same error that involves loading "tidyverse" (even when I try to install tidyverse), for example:

> install.packages("tidyverse", dependencies = F)
Installing package into ‘/var/fasttmp/neugenio/libraries’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/tidyverse_2.0.0.tar.gz'
Content type 'application/x-gzip' length 704618 bytes (688 KB)
==================================================
downloaded 688 KB

Error in library(tidyverse) : there is no package called ‘tidyverse’
Calls: %>% -> suppressMessages -> withCallingHandlers
Execution halted

The downloaded source packages are in
        ‘/tmp/RtmpFTtyce/downloaded_packages’
Warning message:
In install.packages("tidyverse", dependencies = F) :
  installation of package ‘tidyverse’ had non-zero exit status

> .libPaths()
[1] "/var/fasttmp/neugenio/libraries"

Unfortunately, I cannot attach images here because I'm a new user, but I get the same message (trying to load tidyverse) for all packages I try to install.
Even when installing "tidyverse" with dependencies, all packages try to load "tidyverse" (???)

I have sufficient memory space in the server, so this may not be a problem:

neugenio@brucutuIV:~$ quota -s
neugenio@sites's password:
Disk quotas for user neugenio (uid 4970):
     Filesystem   space   quota   limit   grace   files   quota   limit   grace
nfs.ime.usp.br:/home
                   555M   2000M   2400M            8490       0       0

Also, when changing the library path the error persists.

Any idea about how to solve that will be very helpful!

Thanks in advance :wink:

PS: I've searched this error in Google, Stackoverflow, ChatGPT, and here, and couldn't find a solution :confused:

Check if you have something like

library(tidyverse)

in your .Rprofile file.

This topic was automatically closed 42 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.