add description test to this repo

pull/406/head
Bastian Greshake Tzovaras 2018-09-20 16:11:11 +03:00
rodzic cba81a73f8
commit 4a1b504dd2
8 zmienionych plików z 21 dodań i 5 usunięć

Wyświetl plik

@ -117,7 +117,7 @@ To install your repository like an R package, you may include a
from the ``DESCRIPTION`` by running ``devtools:install_git(".")``.
You also need to have a ``runtime.txt`` file that is formatted as
``r-<YYYY>-<MM>-<DD>``, where YYYY-MM-DD is a snapshot at MRAN that will be
``r-<YYYY>-<MM>-<DD>``, where YYYY-MM-DD is a snapshot of MRAN that will be
used for your R installation.
.. _postBuild:

Wyświetl plik

@ -30,7 +30,3 @@
url: https://github.com/QuantStack/xeus-cling
ref: 0.4.5
verify: jupyter kernelspec list
- name: Test compiling R package
url: https://github.com/gedankenstuecke/binder-r-description
ref: master
verify: R --quiet -e 'binderdescription::print_something()'

Wyświetl plik

@ -0,0 +1,7 @@
Package: binderdescription
Version: 0.1
Date: 2018-09-18
Title: Binder R DESCRIPTION support
Description: Test that automatically building R packages works
Author: Bastian Greshake Tzovaras <bgreshake@googlemail.com>
Maintainer: Bastian Greshake Tzovaras <bgreshake@googlemail.com>

Wyświetl plik

@ -0,0 +1,2 @@
# Export all names
exportPattern(".")

Wyświetl plik

@ -0,0 +1,4 @@
print_something <- function()
{
print('blah');
}

Wyświetl plik

@ -0,0 +1,4 @@
# Test that `repo2docker` will build an R package
If a `DESCRIPTION` file is present along with an `R`-requiring `runtime.txt`
, repo2docker should build the R package that is in the repository.

Wyświetl plik

@ -0,0 +1 @@
r-2018-02-05

Wyświetl plik

@ -0,0 +1,2 @@
#!/usr/bin/env Rscript
library('binderdescription')