Thanks to visit codestin.com
Credit goes to github.com

Skip to content
antagomir edited this page Oct 31, 2014 · 11 revisions

Development instructions for command line:

Git basics

  1. Clone the git repository:
git clone [email protected]:microbiome/microbiome.git
  1. Pull changes by others:
git pull
  1. Make your changes

  2. Document, build, check and install the modified package to check its validity (see below)

  3. Make pull request or push directly to the repository (for pushing you need permissions; please contact the admins):

git add new.files
   git commit -a -m"my changes"
   git push

See also source code at GitHub.

Building the R package

Instructions for building the R package tarball, assuming that the package structure is under the "pkg" directory in the working directory.

  1. Load the devtools R package (requires >=R-2.15)
library("devtools")
  1. Build Roxygen documentation
document("pkg")
  1. Validate the package
check("pkg")
  1. Build the package
build("pkg")
  1. Install the package
install("pkg")

When ready: add, commit and push to git master repository.

Clone this wiki locally