Usethis: support for binder?

Created on 11 Feb 2018  路  5Comments  路  Source: r-lib/usethis

Binder (beta) provides a reproducible execution environment based on the GitHub repository. Also, supports badges and generates a link to launch the repository in the following format:

[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/<user>/<repository>/master)

Binder

I think that badge display is useful for a everyone in a single report or article.
So I would like to add a use_binder_badge() function like usethis::use_lifecycle_badge().

If you are positive about this feature, can I submit a draft proposal as pull request?
What I'm thinking is adding a Dockerfile that can launch an rstudio session (use the official imagefile), if there is no Dockerfile or runtime.txt, along with the code output for the badge.

Most helpful comment

OK yes I think a binder badge sounds appealing.

All 5 comments

Point of clarification: are you proposing the integration of support for the binder _badge_ or binder on the whole? (No judgement either way, just trying to make sure I understand correctly 馃憤).

Thank you for your reply. I will prepare for the pull request soon.

Thanks @uribo. Can you answer the question @batpigandme posed, before proceeding? Getting a PR for a badge is pretty different than for a Dockerfile. I'm not saying the latter is necessarily unwelcome, but it's a bigger responsibility re: maintenance.

Sorry @jennybc @batpigandme

What I mentioned was a request for a function to display a binder badge.
The latter topic, I would like to discuss when usethis package will integrate with docker in the future.

OK yes I think a binder badge sounds appealing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

malcolmbarrett picture malcolmbarrett  路  4Comments

jennybc picture jennybc  路  8Comments

llrs picture llrs  路  3Comments

chris-billingham picture chris-billingham  路  5Comments

hadley picture hadley  路  5Comments