You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
I've been playing with the sysreqs package and have found it can be used to auto-install dependencies. I imagine you already knew this. Reprex from bash below FYI:
sudo apt install $(r -e 'cat(paste(sysreqs::sysreqs(desc = system.file(package = "tmap", "DESCRIPTION"), platform = "linux-x86_64-ubuntu-gcc"), collapse = " "))')
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
Note, selecting 'libnode-dev' instead of 'libv8-dev'
...
I'm still not sure the best way to integrate this into our stacks though (e.g. you still have to opt in to allowing users to even have sudo privileges in the rocker-versioned containers). That's probably okay though at least for instances that are used as a single user environment anyway....
We could probably be making better use of it in the Dockerfiles themselves, though manually installing the apt dependencies may still be more robust. And of course sysreqs is still not a complete solution for system requirements, since it does not really address version issues that may require us to add a PPA or something (i.e. especially on the spatial stack as you know better than me!)
Definitely worth us thinking more about all the same. Suggestions on kinds of integration one might want to see (e,g. more user-facing or developer / Dockerfile level) welcome.
I've been playing with the
sysreqs
package and have found it can be used to auto-install dependencies. I imagine you already knew this. Reprex from bash below FYI:Context: comes from discussions with @eddelbuettel and r-hub/sysreqs#17
The text was updated successfully, but these errors were encountered: