Skip to content

A collection of project-related R scripts with defined package lists and Dockerfiles for reproducible R environments

License

Notifications You must be signed in to change notification settings

qbicsoftware/r-container-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QBiC R analysis template

Build Status

This repo holds a cookiecutter template for reproducible analysis with R at QBiC.

Template using cookiecutter

You can easily create an R container from the template with cookiecutter, a Python command-line tool for the creation of projects from templates. Just use pip (https://pip.pypa.io/en/stable/) to install it:

$ pip install cookiecutter

In order to create a project from the r-container-template, just type:

$ cookiecutter https://github.com/qbicsoftware/r-container-template/
r_version [3.2.4]: 
author_name [Sven Fillinger]: 
author_email [[email protected]]: 
container_version [0.1dev]: 
project_code [QABCD]: 
description [Put a short analyses description here]: 

As you see, the command line will prompt you for some information. If you just hit <enter>, it will take the default value (In brackets).

Cookiecutter will replace placeholders with the information you provided and you get a ready base R project layout like this:

├── QABCD
│   │   ├── data
│   │   │   └── input_data
│   │   ├── Dockerfile
│   │   ├── environment.yml
│   │   └── scripts
│   │       └── example.R

Author

This template was created by Sven Fillinger @sven1103, QBiC, University of Tübingen.

Aknowledgements

I want to thank the creators of cookiecutter for this amazing templating tool!

About

A collection of project-related R scripts with defined package lists and Dockerfiles for reproducible R environments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published