Skip to content

Add Binder support #1

@fomightez

Description

@fomightez

Adding support for the MyBinder.org system would allow more people, in particular casual users, to use your package . This way they don't need to install anything on their machine to be able to run code in your package.

I've gotten it mostly working as expected now here. Go there and select a launch badge to start a session. There is a simple demo notebook I made using you code as a guide that comes up if you use the top launch badge.
The RStudio launch badge is farther down.

You should be able to just copy the contents of binder directory I made there in order to add the configuration files to your repo so that pointing MyBinder.org at your repo would launch sessions with all the necessary packages installed. (Note this has to be done on the command line as the postBuild will lose permissions to run commands if you just try and make such a text file in the Github browser interface.) The badges I built here. You are welcome to use the ones I made already; however, you just need to change the URL at the end to point at your repository.

Issues I've noted:

  • For some reason, the borders of the plots seem to get cut off. You especially note it looking at the label of 'Millions' for the x-axis. Often the 'M' is cut off. This oddness is the main reason why I say 'I've gotten it mostly working as expected now' above.
  • Running in R version 4.0.5 and your site says 4.1.0 or better. My attempts to move the version up to 4.1.0 at this time have failed. This may work if r-irkernel is updated soon. That is what is causing me issues even when I specify I want version 1.2 of r-irkernel.
  • The RStudio section is repeated in the README to insure it is seen.

You may notice other things.

(Plus, your README has a URL typo. The link in the sentence "This code was developed by Galactic Polymath Education Studio to solve teaching and visualization challenges associated with our lessons" is misformatted.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions