Comments (3)
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.
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.
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)
- Typo - Section 1.5 HOT 1
- Consider adding Github links in book HOT 1
- Thousands marker HOT 3
- Associate Acronyms with their definition HOT 1
- what are the packages doing in the first example? HOT 2
- apt-get vs apt HOT 3
- some issues on the page about git HOT 2
- functional programming part HOT 1
- typo in basic reproducibility HOT 1
- various issues in "14 Reproducible analytical pipelines with Docker" HOT 3
- Mention RStudio projects (.Rproj) for reproducibility HOT 2
- Why do we need to use an anonymous function? HOT 2
- Renv not working in targets-minimal repo
- Renv not working in targets-minimal repo HOT 1
- Indirection and tidyselect HOT 3
- minor typo HOT 1
- 'Edit this page' link broken HOT 1
- Build the book using Nix on GA
- Before we start -- split into subsections / subheadings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rap4all.