From 86bb281a19d1fb61523342621049c6e556e4409d Mon Sep 17 00:00:00 2001 From: Scott Henderson Date: Mon, 17 Aug 2020 17:31:42 -0700 Subject: [PATCH 1/2] initial binder configuration --- .binder/environment.yml | 58 +++++++++++++++++++++++++++++++++++++++++ .binder/postBuild | 4 +++ README.md | 1 + 3 files changed, 63 insertions(+) create mode 100644 .binder/environment.yml create mode 100644 .binder/postBuild diff --git a/.binder/environment.yml b/.binder/environment.yml new file mode 100644 index 00000000..5f9861ad --- /dev/null +++ b/.binder/environment.yml @@ -0,0 +1,58 @@ +name: eicompare +channels: + - conda-forge +dependencies: + - pre-commit + - r-base>=4 + - r-irkernel>=1.1 + - r-bh + - r-bitops + - r-car + - r-codetools + - r-cubature + - r-data.table + - r-devtools + - r-ellipse + - r-expm + - r-foreach + - r-geojsonio + - r-ggmap + - r-ggplot2 + - r-ggthemes + - r-gmm + - r-googledrive + - r-haven + - r-httpuv + - r-insight + - r-iterators + - r-lintr + - r-magrittr + - r-miniui + - r-mnormt + - r-msm + - r-mvtnorm + - r-plotrix + - r-plyr + - r-r.methodss3 + - r-r.oo + - r-r.utils + - r-rcpparmadillo + - r-rcurl + - r-rgdal + - r-rjsonio + - r-sandwich + - r-sf + - r-shiny + - r-sjlabelled + - r-sjmisc + - r-sourcetools + - r-sp + - r-stringr + - r-styler + - r-survival + - r-tidyverse + - r-tidyr + - r-tmvtnorm + - r-ucminf + - r-xtable + - r-zoo diff --git a/.binder/postBuild b/.binder/postBuild new file mode 100644 index 00000000..30347da3 --- /dev/null +++ b/.binder/postBuild @@ -0,0 +1,4 @@ +# Install development version of eiCompare +R --save -e 'library("remotes"); + install_github("RPVote/eiCompare")' + ' diff --git a/README.md b/README.md index 1f39416a..3c005385 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # eiCompare [![R build status](https://github.com/DSSG-eiCompare/eiCompare/workflows/R-CMD-check/badge.svg)](https://github.com/DSSG-eiCompare/eiCompare/actions?workflow=R-CMD-check) [![Style status](https://github.com/DSSG-eiCompare/eiCompare/workflows/Styler/badge.svg)](https://github.com/DSSG-eiCompare/eiCompare/actions?workflow=Styler) +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/scottyhq/eiCompare/binder?urlpath=lab) eiCompare development version From 6b5c94f1e970554e7df98a81a8a246b7927656a9 Mon Sep 17 00:00:00 2001 From: Scott Henderson Date: Mon, 17 Aug 2020 17:56:37 -0700 Subject: [PATCH 2/2] more packages via conda --- .binder/environment.yml | 8 ++++++++ .binder/postBuild | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.binder/environment.yml b/.binder/environment.yml index 5f9861ad..c6b889af 100644 --- a/.binder/environment.yml +++ b/.binder/environment.yml @@ -5,13 +5,18 @@ dependencies: - pre-commit - r-base>=4 - r-irkernel>=1.1 + - r-bayestestr - r-bh - r-bitops - r-car + - r-coda - r-codetools + - r-cpp11 - r-cubature - r-data.table - r-devtools + - r-doparallel + - r-dosnow - r-ellipse - r-expm - r-foreach @@ -36,6 +41,7 @@ dependencies: - r-r.methodss3 - r-r.oo - r-r.utils + - r-rcpp - r-rcpparmadillo - r-rcurl - r-rgdal @@ -45,6 +51,7 @@ dependencies: - r-shiny - r-sjlabelled - r-sjmisc + - r-snow - r-sourcetools - r-sp - r-stringr @@ -53,6 +60,7 @@ dependencies: - r-tidyverse - r-tidyr - r-tmvtnorm + - r-tmvnsim - r-ucminf - r-xtable - r-zoo diff --git a/.binder/postBuild b/.binder/postBuild index 30347da3..cdbaae55 100644 --- a/.binder/postBuild +++ b/.binder/postBuild @@ -1,4 +1,4 @@ # Install development version of eiCompare R --save -e 'library("remotes"); - install_github("RPVote/eiCompare")' + install_github("RPVote/eiCompare"); '