sesame icon indicating copy to clipboard operation
sesame copied to clipboard

could use more specific information on system requirements to build package

Open romunov opened this issue 3 years ago • 2 comments

Would it be possible to specify in the DESCRIPTION file the system requirements required to build a package? This is especially pertinent for cases when one is building a docker image from scratch and system libraries are slimmed down to keep the weight of the image down as well.

romunov avatar May 17 '21 12:05 romunov

Are you referring to OS, RAM, number of cpu? that's a good idea but I don't see it commonly done for an R package. Or am I wrong? are you running into specific issue?

zwdzwd avatar May 24 '21 14:05 zwdzwd

My concern was with OS. Compiling the package from our Ubuntu image some tools were missing (). It took me a while to figure out which ones. In my case, I think liblapack3 and liblapack-dev were the key, along with build-essential and gfortran.

romunov avatar May 26 '21 08:05 romunov