Git Product home page Git Product logo

Comments (2)

siddharthab avatar siddharthab commented on June 21, 2024

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.

siddharthab avatar siddharthab commented on June 21, 2024

Closing because of no activity.

from rules_r.

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.