Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make renv sysreqs feature usable with RedHat based linux distros #2105

Open
michaelmayer2 opened this issue Mar 5, 2025 · 1 comment
Open

Comments

@michaelmayer2
Copy link

michaelmayer2 commented Mar 5, 2025

With the latest release of renv I get

> sysreqs(packages=x$Package,distro="centos")
The requisite system packages can be installed with:
- sudo <install> -y cmake
- sudo <install> -y gdal
- sudo <install> -y gdal-devel
- sudo <install> -y geos-devel
- sudo <install> -y libcurl-devel
- sudo <install> -y libicu-devel
- sudo <install> -y libxml2-devel
- sudo <install> -y make
- sudo <install> -y openssl-devel
- sudo <install> -y pandoc
- sudo <install> -y pandoc-citeproc
- sudo <install> -y proj-devel
- sudo <install> -y proj-epsg
- sudo <install> -y sqlite-devel
- sudo <install> -y udunits2-devel
- sudo <install> -y v8-devel
- sudo <install> -y xz

Depending on the RedHat version it should use either yum or dnf instead of <install> - Nit-pickingly one even could consider clubbing all the lines together in one yum/dnf call like yum install -y cmake gdal gdal-devel....

On a related note: sysreqs at the moment does not consider any pre_install or post_install scripts (cf. https://github.com/rstudio/r-system-requirements/blob/fb86c68dcfd51a80034dcad925bdf7660cfc2bd2/rules/libwebp.json#L57-L61)

@kevinushey
Copy link
Collaborator

Nit-pickingly one even could consider clubbing all the lines together

FWIW you can use sysreqs(collapse = TRUE) for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants