Comments (2)
Hi, unfortunately there is no easy way. You could parse the DESCRIPTION files of all the packages in your workspace, and look at the list of SystemRequirements, but that is also not a guarantee.
To parse the DESCRIPTION file of all the packages, you can use this command.
Before running the command, you need to ensure all remote repos are fetched using bazel fetch
or bazel sync
.
bazel query 'kind(r_repository, //external:*)' | sed -e "s@.*:R_\(.*\)@$(bazel info output_base)/external/R_\1/\1/DESCRIPTION@" | xargs grep SystemRequirements
At GRAIL, installing these apt packages allow us to build 400+ packages from CRAN and Bioconductor.
libcurl4-openssl-dev
python3-pip
libgsl-dev
libmariadb-client-lgpl-dev
libomp-dev
libpq-dev
librsvg2-2
libssl-dev
libxml2-dev
libv8-3.14-dev
For r_markdown
rules, you will also need pandoc and texlive-latex-extra.
Please feel free to close this issue when you feel like your question has been answered.
Thanks!
from rules_r.
Closing because of no activity.
from rules_r.
Related Issues (20)
- r_pkg use of cc_deps - does it use the includes directive of cc_library? HOT 4
- trouble building r_pkg depending on cc_library HOT 7
- how to install r check deps into system R library path HOT 1
- "tools" specified in the toolchain are not configured for r_unit_test HOT 1
- r_unit_test should be able to declare data dependencies
- Why not let Bazel compile C++ as well? HOT 8
- Shared objects are thrown out by R cmd build HOT 1
- ARM support HOT 2
- `r_pkg_test` does not seem to work with `pkg_name`
- Rewrite razel as gazelle language extension HOT 1
- Do not rely on users using `+=` in their package Makevars
- Update covr dependency to CRAN HOT 1
- File paths in coverage information are just the package name
- Setup Buildbuddy cache for Github Actions tests HOT 1
- Make source and binary archives byte reproducible
- Collect coverage trace from cc_deps
- Question on header paths HOT 4
- Seems like C_SO_LD_FLAGS has no effect when external *.so is included HOT 2
- Fix reproducibility tests for R 4.1.0 HOT 1
- r_toolchain to support setting r and rscript using Bazel target names/labels HOT 2
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 rules_r.