The tidyverse meta-package has become a well-used suite of packages for data handling and visualisation. However, the tidyverse has some system and package dependencies that makes it tricky to install on TSD. Mainly because it depends on the stringi package, which needs internet access to install text information that cannot be stored within the main package itself.
There are three modules on TSD where it have bundled popular packages for you within the R-package it self. If you are happy using the modules, you can use either of:
Firstly, prepare all the necessary packages and dependncies for
install on TSD using the tsd_package_prepate()
function.
All the tidyverse packages and their dependencies will now download
into a file called tidyverse.zip
. Import this file into
your TSD project.
Several of the tidyverse packages require your linux system to have certain OS libraries installed for them to work. You will need to contact USIT with information on which such system libraries you require, and which project to have them installed for (we recommend installing for the entire project, rather than individual users).
Needed OS libs:
Once all the libs are installed by IT, and you load gcc before starting R, you are ready to get tidyverse installed.
This should now hopefully install without errors. If you still cannot install tidyverse with these steps, report an issue. If you know of additional needed steps for successful install, either do a direct PR for adding that information to this document, or , report an issue. We’d love feedback to improve the instructions!