Installation of readxl in R-studio, Debian 11 Chromebook

Hey, I have downloaded R in my terminal with
Code:
sudo apt install r-base r-base-dev
And it works fine, I have also downloaded the R-srudio from posit.co and that works fine to, Except that when i run this command:
Code:
install.packages('readxl')
It runs forever downloading lots of other stuff like vim and a desktop shortcut for R-CLI etc. And it keeps trying to download from what I guess is different sources but won't succeed. See below, please help.

Installing package into ‘/home/knutssongustafssonwilliam/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘cellranger’

trying URL 'https://cloud.r-project.org/src/contrib/cellranger_1.1.0.tar.gz'
Content type 'application/x-gzip' length 63857 bytes (62 KB)
==================================================
downloaded 62 KB

trying URL 'https://cloud.r-project.org/src/contrib/readxl_1.4.3.tar.gz'
Content type 'application/x-gzip' length 2093488 bytes (2.
 
Top Bottom