GithubHelp home page GithubHelp logo

pakillo / template Goto Github PK

View Code? Open in Web Editor NEW
169.0 10.0 21.0 1.03 MB

A template for data analysis projects structured as R packages (or not)

Home Page: http://pakillo.github.io/template/

R 100.00%
r workflow project-template research-compendium

template's Issues

add makefile

makefile.R by now, just rendering Rmarkdown documents in appropriate order, or running R scripts, or calling functions (e.g. read data, make_figures, etc)

package versions

Hello,

This is a really good idea (i.e. using R packages to facilitate reproducibility) and I have been doing this for sometime. I would like to suggest an additional step and that is being able to replicate R version and package versions since, obviously, changes in package code/functions overtime can break your analysis code. Ideally we would be able to set a R and package version in the DESCRIPTION file, and I can remember some rather recent discussion concerning this on the Bioconductor Developer mailing list, but, as far as I understood, this is not possible at the moment (probably stemming from the fact that, even though they are a practical solution, R packages were not thought to serve the purpose we want to use them for). I have recently resolved this using the liftr package and docker. I made a 'quick and dirty' example at reproducibleAnalysis for you to have a look at if you would like. I don't know if this is the best solution but it may be a starting point to work from. Id also be glad to hear any comments you might have!

Kind Regards,
Jason

example?

I really like this template and have learned a lot by studying its organisation.

Do you have an example of this template being used for a real-world report or publication?

Consider the drake R package?

From the README:

Write a makefile or master script to organise and execute all parts of the analysis.

The drake R package is like Make, but for R-focused data science projects. It is not in the reproducibility guide you mentioned, but it is part of rOpenSci.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.