Comments (8)
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.
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.
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.
I've been struggling with staging timeouts, so I'd appreciate this, too, so we could start avoiding unnecessary dependencies.
from r-buildpack.
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.
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.
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.
Closing as stale. @chrismasonthom-co feel free to reopen if necessary
from r-buildpack.
Related Issues (20)
- **Release:** r-buildpack 1.1.22
- Deprecation: [r-buildpack] r version 3.6.x after 2020-03-01 HOT 1
- **Release:** r-buildpack 1.1.23 HOT 1
- Release: r-buildpack (Feb) HOT 1
- Release: r-buildpack (Mar) HOT 1
- Couldn't load r.yml HOT 3
- Release: r-buildpack (Apr) HOT 1
- Release: r-buildpack (May) HOT 1
- Release: r-buildpack (Jun) HOT 1
- Release: r-buildpack (Jul) HOT 1
- The packaged Buildpack exceeds the 1GB limit.
- Release: r-buildpack (Aug) HOT 1
- Release: r-buildpack (Sep) HOT 1
- Release: r-buildpack (Oct) HOT 1
- Release: r-buildpack (Nov) HOT 1
- Release: r-buildpack (Dec) HOT 1
- Release: r-buildpack (Jan) HOT 1
- Release: r-buildpack (Feb) HOT 1
- Release: r-buildpack (02-29) HOT 1
- Release: r-buildpack (Mar)
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 r-buildpack.