{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# using a R library as binder repo\n", "This repo defines the R library `binderdescription` and if you run the repo in binder you can load this library right away like this:" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "library('binderdescription')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "If this library was loaded we should be able to use the `print_something()` function below:" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[1] \"blah\"\n" ] } ], "source": [ "print_something()" ] } ], "metadata": { "kernelspec": { "display_name": "R", "language": "R", "name": "ir" }, "language_info": { "codemirror_mode": "r", "file_extension": ".r", "mimetype": "text/x-r-source", "name": "R", "pygments_lexer": "r", "version": "3.4.4" } }, "nbformat": 4, "nbformat_minor": 2 }