https://github.com/aaronpeikert/reproducible-research
A Reproducible Data Analysis Workflow with R Markdown, Git, Make, and Docker
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
3 of 9 committers (33.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.6%) to scientific vocabulary
Keywords
containerization
dependency-management
literate-programming
open-science
r
reproducibility
version-management
Keywords from Contributors
structural-equation-modeling
Last synced: 5 months ago
·
JSON representation
Repository
A Reproducible Data Analysis Workflow with R Markdown, Git, Make, and Docker
Basic Info
- Host: GitHub
- Owner: aaronpeikert
- License: cc-by-4.0
- Language: TeX
- Default Branch: master
- Homepage: https://psyarxiv.com/8xzqy/
- Size: 2.43 MB
Statistics
- Stars: 125
- Watchers: 4
- Forks: 17
- Open Issues: 1
- Releases: 0
Topics
containerization
dependency-management
literate-programming
open-science
r
reproducibility
version-management
Created over 6 years ago
· Last pushed almost 4 years ago
Metadata Files
Readme
License
Code of conduct
README.Rmd
---
output:
md_document:
variant: gfm
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(here)
library(readr)
library(pander)
```
This is the accompanying GitHub repository to a work in progress paper by Aaron Peikert[](https://orcid.org/0000-0001-7813-818X) and Andreas M. Brandmaier [](http://orcid.org/0000-0001-8765-6982).
[](https://creativecommons.org/licenses/by/4.0) [](https://github.com/aaronpeikert/reproducible-research/issues/new) 
# Abstract
```{r abstract, child = 'abstract.Rmd'}
```
```{r, echo=FALSE}
knitr::include_graphics("Images/nutshell.svg")
```
# Resources
```{r, include=FALSE}
resources <- read_csv(here("data", "resources.csv"), trim_ws = FALSE)
```
```{r, echo=FALSE, asis=TRUE}
pander(
resources,
split.tables = Inf,
split.cells = Inf,
missing = "",
keep.line.breaks = TRUE,
style = "multiline"
)
```
# Compile
The following paragraphs describe how you can obtain a copy of the source files of our manuscript describing reproducible workflows, and create the PDF. Either, you can go the 'standard' way of downloading a local copy of the repository and knit the manuscript file in R, or you can use the reproducible workflow as suggested and use Make to create a container and build the final PDF file in exactly the same virtual computational environment that we used to render the PDF.
## Standard Way
Requires: `Git`, `RStudio`, `pandoc`, `pandoc-citeproc` & `rmarkdown`.
Open RStudio -> File -> New Project -> Version Control -> Git
Insert:
```
https://github.com/aaronpeikert/reproducible-research.git
```
Open `manuscript.Rmd` click on `Knit`.
## Using a Reproducible Workflow
Does not require R or RStudio, but `make` & `docker`.
Execute in Terminal:
```{bash, eval=FALSE}
git clone https://github.com/aaronpeikert/reproducible-research.git
cd reproducible-research
make build
make all DOCKER=TRUE
```
**Note: Windows user need to manually edit the `Makefile` and set current_path to the current directory and use `make all DOCKER=TRUE WINDOWS=TRUE`. We hope that future releases of Docker for Windows will not require that workaround.**
## Rebuild Everything
In case you experience some unexpected behavior with this workflow, you should check that you have the most recent version (`git pull`), rebuild the docker image (`make build`) and force the rebuild of all targets (`make -B DOCKER`).
```{bash, eval=FALSE}
git pull && make rebuild && make -B DOCKER=TRUE
```
# Session Info
```{r}
sessioninfo::session_info()
```
Owner
- Name: Aaron Peikert
- Login: aaronpeikert
- Kind: user
- Repositories: 15
- Profile: https://github.com/aaronpeikert
GitHub Events
Total
- Watch event: 7
Last Year
- Watch event: 7
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Aaron Peikert | a****t@p****e | 197 |
| Brandmaier | b****r@m****e | 43 |
| Andreas Brandmaier | y****e@e****m | 43 |
| Waldir Leoncio | w****o@g****m | 2 |
| Caroline Gahrmann | c****n@h****e | 1 |
| Ole Gunnar Tveit | o****r@g****m | 1 |
| TobiasHeycke | t****e@g****g | 1 |
| Waldir Leoncio | w****o@m****o | 1 |
| Raymond Berger | R****B | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 86
- Total pull requests: 46
- Average time to close issues: 23 days
- Average time to close pull requests: 6 days
- Total issue authors: 6
- Total pull request authors: 5
- Average comments per issue: 1.72
- Average comments per pull request: 1.04
- Merged pull requests: 44
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- aaronpeikert (29)
- brandmaier (15)
- wlandau (1)
- jake-wittman (1)
- gabrielesh (1)
- arcruz0 (1)
Pull Request Authors
- aaronpeikert (20)
- wleoncio (2)
- RayBB (1)
- ogtveit (1)
- TobiasHeycke (1)
Top Labels
Issue Labels
enhancement (1)