Structure of the research compendium of the practice 5 of the training course Reproducible Research in Computational Ecology.
This repository is structured as follow:
-
data/
: contains all raw data required to perform analyses -
R/
: contains R functions developed especially for this project -
DESCRIPTION
: contains project metadata (author, date, dependencies, etc.) -
_targets.R
: contains the pipeline -
index.Rmd
: contains the final report to knit -
make.R
: main R script to run the entire project by runningtargets::tar_make()
- Fork and clone this repository
- Open a terminal
- Build the Docker image with:
docker build -t "practice5" .
- Start a container based on this image:
docker run --rm -dp 8787:8787 -e DISABLE_AUTH=true practice5
- On a web browser enter this URL:
127.0.0.1:8787
. A new RStudio Server instance will be available. - To run the analysis:
source("make.R")
- All required packages, listed in the
DESCRIPTION
file, will be installed (if necessary) - All required packages and R functions will be loaded
Casajus N, Bonnici I, Dray S, Gimenez O, Guéry L, Guilhaumon F, Schiettekatte NMD & Siberchicot A (2023) Workshop FRB-CESAB & GdR EcoStat: Reproducible Research in Computational Ecology. Zenodo. http://doi.org/10.5281/zenodo.4262978.