Skip to content

Instantly share code, notes, and snippets.

@lcolladotor
Created November 13, 2013 18:51
Show Gist options
  • Save lcolladotor/7454266 to your computer and use it in GitHub Desktop.
Save lcolladotor/7454266 to your computer and use it in GitHub Desktop.
Commands I use frequently when building the derfinder package. I save it on the directory, say WDIR, where WDIR/derfinder is located at.
library(devtools)
## Create the documentation fresh
document("derfinder", clean=TRUE)
## Install the package
install("derfinder")
## Check the help
library(derfinder)
help(package=derfinder)
## Check the doc, pkg
check_doc("derfinder")
system.time(check("derfinder"))
build("derfinder")
## Build the vignette
build_vignettes("derfinder")
## Testing an example
example("calculatePvalues", "derfinder")
## Install from github
library(devtools)
install_github("derfinder", "lcolladotor")
########## derfinderReport
library(devtools)
## Create the documentation fresh
document("derfinderReport", clean=TRUE)
## Install the package
install("derfinderReport")
## Check the doc, pkg
check_doc("derfinderReport")
system.time(check("derfinderReport"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment