-
Notifications
You must be signed in to change notification settings - Fork 169
Clarification re:zlib #161
Comments
Thanks for the bug report, it's great to get these details! A few quick points for clarification:
Note that your base R on this image zlib support, e.g. see
Note that many packages, like Hope this helps. That said, we may indeed want/need to put zlib-dev libraries in one of the later images like tidyverse to streamline the data.table install.... Further discussion welcome! |
thanks for the response! perfectly understood. re downstream images, something I've thought about recently is something like a sys-deps folder of executables to install system dependencies for packages... e.g. you could just do |
@MichaelChirico That's a really great idea. One thing we could do is support/document how to have a generic bash script get run as root prior to RStudio startup; e.g. if your Going a step beyond and automating the sys.deps for an individual package is harder, though a few folks have looked at using the metadata provided by Gabor's |
[ Or turn it upside down and based on resolved dependency within a distro? Michael Rutter has over 4000 CRAN packages in his PPA -- if one uses the |
data.table
recently added support for emittinggzip
ped files, which requireszlib
headers to build properly.I recently happened to be using
rocker/r-ver:3.5.3
to chase down a version-specific test failure and also noticed that there doesn't appear to bezlib
support on this image:And in fact
zlib
isn't found:This is easily solved e.g. with
apt-get update && apt-get install zlib1g-dev
; what drew my attention is Philippe's (original gzip support author's) pointing out that system zlib is required for R since 3.3.0 (with a version of zlib included in R sources before that):Rdatatable/data.table#3872 (comment)
Was it an intentional design decision to omit this from the image (e.g. with minimalist constraints in mind)?
A bit more broadly, this raised flags for us that we might be increasing the dependency load of
data.table
with this new requirement (which in practice is really only a "suggested" dependency for users seeking support for compressedfwrite
output), and all the more troublingly so that it's a system requirement (which are a lot more painful for inexperienced users to figure out since they can'tinstall.packages
their way out), so we're hoping any insights you offer can illuminate whether we're likely to encounter many users with a setup like that inr-ver:3.5.3
"in the wild" once thezlib
-required version ofdata.table
hits CRANThe text was updated successfully, but these errors were encountered: