Installation

The R software for running longevityTools can be downloaded from CRAN. The longevityTools package can be installed from the R console using the following biocLite install command.

source("http://bioconductor.org/biocLite.R") # Sources the biocLite.R installation script 
biocLite("tgirke/longevityTools", build_vignettes=FALSE, dependencies=FALSE) # Installs package from GitHub

Loading package and documentation

library("longevityTools") # Loads the package
library(help="longevityTools") # Lists package info
vignette("longevityTools") # Opens vignette

GitHub workflow

git clone git@github.com:tgirke/longevityTools.git
cd longevityTools
git pull # Get updates from remote
git branch # Check whether you are in the master branch 
## do some work, commit/push changes to local and remote ##
git commit -am "some edits"; git push -u origin master

Building and checking package

R CMD build longevityTools # Run from parent directory of longevityTools directory
R CMD check longevityTools_1.0.3.tar.gz
install.package("longevityTools_1.0.3.tar.gz", repos=NULL, type="source")