gono
November 13, 2024, 6:13pm
1
Hi, i tried installing tidyverse several times. It somehow works, but its never installed then.
This message above editor shows up, i click "install", the process takes really long(3 minutes), and finishes. If using library(tidyverse), console says there is no such package found. If i wait or restart IDE, the message above editor returns:/
If i delete the packages folder and try installing again, a process starts in the console which takes almost 10 minutes. A lot of stuff is downloaded and a lot is compiled using gcc, which also is throwing some errors then...
I am on deb 12 system. I downloaded tinyverse on windows before, took not even a minute to do...
prubin
November 13, 2024, 7:43pm
2
What are the error messages when compiling? It could be you are missing a required system package.
gono
November 13, 2024, 8:23pm
3
Finally it worked. I am still not sure what made the difference now. But finally found this issue on github, installed all missing dependencies (not without errors though). I also changed my CRAN repo to:
https://packagemanager.posit.co/client/#/repos/cran/setup?distribution=ubuntu-24.04
Link to the Github issue:
opened 07:01PM - 26 Aug 24 UTC
closed 04:27PM - 06 Sep 24 UTC
enhancement
startup
Dear Posit team. I have a shameless request. For every new Linux install of RStu… dio, I have to install the following libraries from the terminal in order to be able to run `install.packages("tidyverse")` within RStudio.
```
libcurl4-openssl-dev
libfontconfig1-dev
libxml2-dev
zlib1g-dev
libharfbuzz-dev
libfribidi-dev
libfreetype6-dev
libpng-dev
libtiff5-dev
libjpeg-dev
```
These in Debian/Ubuntu (both 22 and 24 from the dailies). Package names are slightly different for Fedora.
Finding out which were missing has been a painstaking process of reading the install errors, and since packages are compiled on download on Linux, that was a long elimination process. Seeing that both, RStudio and the Tidyverse are Posit supported, it would be nice if you could just add these as dependencies to the .deb files so that they get downloaded and installed when installing RStudio. Not even in the package, just as dependencies on install, just like there are a few already in the current packages. I know that not everybody will install the tidyverse, but I bet it's a big chunk of people who do and getting these 'just in case' will be fine for 99% of users.
And I guess people with this problem will complain on the tidyverse repos, but it would be so easy to fix upstream here. Thank you.
It seems weird this issue still is not fixed...
system
Closed
November 20, 2024, 8:24pm
4
This topic was automatically closed 7 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.