Hello. I need to download the package "mosaic" (I don't understand if this is the same as ggmosaic, which i successfully downloaded). I have very little experience with RStudio but I use it on my HP Chromebook with a Linux beta system. I downloaded R and RStudio through the Linux terminal and have had some problems with other packages like tidyverse, which I have solved through installing the following packages:
sudo apt-get install libxml2 libxml2-dev
sudo apt-get install libssl-dev
$ sudo apt-get install libcurl4-openssl-dev
When I try installing mosaic in RStudio i get the following error message:
Installing package into ‘/home/solrunnyb/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘terra’, ‘raster’, ‘leaflet
Installing package into ‘/home/solrunnyb/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘terra’, ‘raster’, ‘leaflet’
What am I doing wrong? The same error message comes up for all four dependencies. As a new user I'm not allowed to upload the whole code but i'll try posting it in the comments.