Patch installGithub.r #46

Merged
merged 6 commits into from Nov 19, 2016

Projects

None yet

2 participants

@cboettig
Contributor

as suggested in #45, adds option to disable the automated updates in installGithub.r

@@ -39,4 +40,6 @@ if (opt$deps == "TRUE" || opt$deps == "FALSE") {
opt$deps <- NA
}
-invisible(sapply(opt$REPOS, function(r) install_github(r, dependencies = opt$deps)))
+opt$update <- as.logical(opt$update)
@eddelbuettel
eddelbuettel Nov 19, 2016 Owner

That looks to be key.

I presume you tested again default, set, not set, crazy text input, ... and it reduces correctly to just TRUE or FALSE?

@eddelbuettel eddelbuettel merged commit 47387ef into eddelbuettel:master Nov 19, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment