forked from tiernanmartin/drakepkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
38 lines (27 loc) · 1.63 KB
/
README.Rmd
File metadata and controls
38 lines (27 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: "drakepkg"
output:
github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
message = FALSE,
collapse = TRUE,
comment = "#>"
)
```
[](http://www.repostatus.org/#wip)
This package is an example of how to provide an analysis workflow using the `drake` package as an R package/research compendium. The idea is to include both the analysis directory strucure, including all inputs needed to reproduce the analysis as well as all generated outputs, and the `.drake` directory with the package. Using included functions, the user can easily reproduce the included analysis and inspect the analysis workflow (more details on how to do so are given in the vignette and/or on the `pkgdown` [site](https://januz.github.io/drakepkg/)).
## Installation
Install the package using
```
# without vignette
devtools::install_github("januz/drakepkg")
# with vignette
devtools::install_github("januz/drakepkg", build_vignettes = TRUE)
```
## Simulating computational environment using Docker
To reproduce the analysis in the exact computational environment used to create it by the original authors, use one of the following options:
1. run the included Docker container from [Docker Hub](https://hub.docker.com/r/januzzz/drakepkg/)
2. run the Docker container on BinderHub: [](https://mybinder.org/v2/gh/januz/drakepkg/master?urlpath=rstudio)