GithubHelp home page GithubHelp logo

vobencha / gran Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gmbecker/gran

0.0 1.0 0.0 1.45 MB

Repository-based tools for reproducibilty at the system-wide installation and individual analysis levels for R

R 99.65% JavaScript 0.35%

gran's Introduction

GRANBase

CRAN Release Version and Date Downloads from CRAN Build Status

Introduction

GRANBase is an open source set of tools for testing and deploying R packages as package repositories for both general deployment and result reproduction. It is based on the switchr framework, and allows users to deploy package manifests as validated repositories.It is centered around the R repository mechanism for package distribution.

GRANBase provides three major areas of functionality:

  • The ability to create one or more R package repositories by pulling and testing packages from diverse locations (SCM, Git, local directory), in a manner conducive to continuous integration
  • Tools for recreating specific environments based on sessionInfos, and for creating lightweight virtual repositories which serve the exact package versions specified in the sessoinInfo
  • Tools for assessing the potential impact of upgrading a package, to assist administrators in keeping systems up-to-date while protecting reproducibility and comparability of results in long-running core applications

GRANBase performs the following steps when creating or updating a repository. At the end of each step, the packages’ statuses are updated to reflect the results of that step:

  • Up-to-date copies of package sources are obtained for each package being built, including updating previously checked-out versions
  • Packages whose versions have changed since their last successful build, or who are reverse dependencies of such a package, are built without vignettes into a temporary repository via R CMD build
  • Packages which successfully built, along with their GRANBase, CRAN, and Bioconductor-based dependencies are installed into a temporary library location
  • Packages which successfully installed are built again, with vignettes, into a staging directory
  • Remaining packages are tested via R CMD CHECK, and their statuses are updated accordingly
  • Packages which meet the requirements set for the repository (CHECK warnings and notes can be all owed, or not) are deployed into the final destination repository
  • The GRANBase manifest is updated to reflect the build results
  • An HTML build report is generated from the updated manifest
  • The manifest and GRANRepository object are saved
  • The GRANRepsitory object is returned

Please refer to the package reference manual and vignettes for more details on usage.

Installation

You may install the stable, release version of GRANBase from CRAN like this:

# Install the CRAN Release Version of GRANBase
install.packages("GRANBase")

Or install the latest development version from GitHub:

# Install using devtools
devtools::install_github("gmbecker/GRANCore",
                         "gmbecker/gRAN")

Contribute

Want to contribute? Great! You can do so by:

  • Forking this repo
  • Creating a new branch
  • Committing changes to that branch
  • And finally submitting your changes for review by creating a pull request

gran's People

Contributors

benmarwick avatar cicdguy avatar gmbecker avatar juliangehring avatar vobencha avatar

Watchers

 avatar

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.