pakillo / template Goto Github PK
View Code? Open in Web Editor NEWA template for data analysis projects structured as R packages (or not)
Home Page: http://pakillo.github.io/template/
A template for data analysis projects structured as R packages (or not)
Home Page: http://pakillo.github.io/template/
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)
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
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.