Created
March 18, 2014 19:28
-
-
Save robertzk/9627546 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reload the suite of Syberia packages. This will be automated later. | |
require(devtools) | |
pkgs <- strsplit("Ramd productivus stagerunner statsUtils mungebitsTransformations mungebits tundra syberia", " ")[[1]] | |
lapply(list( | |
list(function(x) if(x %in% loadedNamespaces()) unloadNamespace(x), rev = TRUE), | |
list(install_github, 'robertzk'), | |
list(library, character.only = TRUE) | |
), function(x) { r <- x$rev; x$rev <- NULL; do.call(lapply, append(list(if (is.null(r)) pkgs else rev(pkgs)), x)) }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment