Example repository to create an environment with course materials in R.
This repository is based on the binder-examples/conda example.
repo2docker
is the underlying tool that is used to build an environment from a repository.
repo2docker
can be configured with several types of files. In the case of this repo:
binder/environment.yml
: specify dependencies that will be installed usingconda
binder/postBuild
: specify R or Bioconductor packages not available in Anaconda cloud (i.e not installable byconda
).
Both JupyterLab and RStudio are installed.
Once created, the environment can be reused without building it again.
For more information, see the extensive rep2docker documentation.
Materials can be added anywhere to this repository, either at the top level or in subdirectory.
When building the environment, the materials (and any other file) will be copied to the Docker image.
In this example, there is already a test notebook (example-notebook.ipynb
) and a test R script (example-script.R
).