Git Product home page Git Product logo

Comments (3)

asadow avatar asadow commented on August 10, 2024 1

Using pak with renv is in the works:

On another note, pak can print out the system level dependencies which could be a nice addition to the Docker chapter:

pak::pkg_sysreqs("tidyverse", sysreqs_platform = "ubuntu-22.04")

── Install scripts ───────────────────────── Ubuntu NA ──
apt-get -y update
apt-get -y install libcurl4-openssl-dev libssl-dev \
zlib1g-dev make pandoc libfreetype6-dev libjpeg-dev \
libpng-dev libtiff-dev libicu-dev libfontconfig1-dev \
libfribidi-dev libharfbuzz-dev libxml2-dev

── Packages and their system dependencies ───────────────
curl        – libcurl4-openssl-dev, libssl-dev
data.table  – zlib1g-dev
fs          – make
haven       – make, zlib1g-dev
knitr       – pandoc
openssl     – libssl-dev
ragg        – libfreetype6-dev, libjpeg-dev, libpng-dev, libtiff-dev
reprex      – pandoc
rmarkdown   – pandoc
sass        – make
stringi     – libicu-dev
systemfonts – libfontconfig1-dev, libfreetype6-dev
textshaping – libfreetype6-dev, libfribidi-dev, libharfbuzz-dev
xml2        – libxml2-dev

as I was wondering where you got the below list in the chapter.

For example, here are the Ubuntu dependencies that need to be installed for the installation of the {tidyverse} package to succeed:
libicu-dev
zlib1g-dev
make
libcurl4-openssl-dev
libssl-dev
libfontconfig1-dev
libfreetype6-dev
libfribidi-dev
libharfbuzz-dev
libjpeg-dev
libpng-dev
libtiff-dev
pandoc
libxml2-dev

from rap4all.

b-rodrigues avatar b-rodrigues commented on August 10, 2024 1

Hi @asadow, I got the list of dependencies from here: https://packagemanager.posit.co/client/#/repos/cran/setup?distribution=ubuntu-22.04

I didn’t know that pak was able to list the system level dependencies of R libraries, this is indeed quite interesting. I’ll keep an eye open for pak’s evolution.

from rap4all.

b-rodrigues avatar b-rodrigues commented on August 10, 2024

Hi, thanks for the suggestion!
I’m not too familiar with pak, can it work together with renv? Because since we’re installing the packages using renv::restore(), could pak be used by renv to install the historical R packages + the system deps?

Thanks for the support!

from rap4all.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.