GithubHelp home page GithubHelp logo

Comments (8)

cf-gitbot avatar cf-gitbot commented on June 3, 2024

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/175574306

The labels on this github issue will be updated when the story is started.

from r-buildpack.

ForestEckhardt avatar ForestEckhardt commented on June 3, 2024

This is an interesting idea. I will have to investigate whether or not doing this breaks any of our current functionality. Let me run a round of tests and get back to you!

from r-buildpack.

chrismasonthom-co avatar chrismasonthom-co commented on June 3, 2024

That's great, thanks Forest. You'll have seen I've made a fork with this change in the interim - it's currently working for me, but definitely run some wider tests!

from r-buildpack.

elinork avatar elinork commented on June 3, 2024

I've been struggling with staging timeouts, so I'd appreciate this, too, so we could start avoiding unnecessary dependencies.

from r-buildpack.

hedberg503 avatar hedberg503 commented on June 3, 2024

I would also appreciate this, as I am also struggling with staging timeouts. Specifically with the sf package as a suggested dependency for ggplot2.

from r-buildpack.

menehune23 avatar menehune23 commented on June 3, 2024

Hi @chrismasonthom-co, thanks for the thorough post and suggestions. We're maintaining a lot of buildpacks these days, and our focus has also shifted quite a bit to the Paketo buildpacks that are more container-centric, so we haven't been able to prioritize a fix for this.

That said, if you'd be willing to PR something into this CF buildpack based on your fork, we'd be happy to take a look. If there's a way to make this opt-in (e.g. via an env var to override current behavior) to lower risk of backwards incompatibilities, that would be optimal.

from r-buildpack.

ryanmoran avatar ryanmoran commented on June 3, 2024

For this implementation, I could imagine an API in the existing r.yml file that looks something like the following:

---
cran_mirror: https://cran.r-project.org
dependencies:
- Depends
- Imports
packages:
- name: stringr

Where dependencies is expected to be an array with any of the allowed values: "Depends", "Imports", "LinkingTo", "Suggests", or "Enhances".

This would then create a dependencies option in the install.packages command like the following:

install.packages(... dependencies=c("Depends", "Imports") ...)

If the field is missing or empty, then we can assume the dependencies option should take on its existing behavior which is to be set to TRUE like the following:

install.packages(... dependencies=TRUE ...)

from r-buildpack.

menehune23 avatar menehune23 commented on June 3, 2024

Closing as stale. @chrismasonthom-co feel free to reopen if necessary

from r-buildpack.

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.