Skip to content

Commit

Permalink
Merge branch 'f_rscdeploy' into integration
Browse files Browse the repository at this point in the history
  • Loading branch information
bokov committed Jul 20, 2019
2 parents 23a6679 + 04f007b commit 012fb24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dfshiny/global.R
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
shinyapps <- file.exists('queryBuilder_0.0.2.9000a.tar.gz');
shinyapps <- file.exists('queryBuilder_0.0.2.9000.tar.gz');

# Let me just say that Winston Chang is a genius
# https://gist.github.com/wch/c3653fb39a00c63b33cf
# The if statement below is based on wch's work above
if(shinyapps){
if (!file.exists("R-lib")) dir.create("R-lib");
.libPaths( c(normalizePath("R-lib/"), .libPaths()) );
install.packages('queryBuilder_0.0.2.9000a.tar.gz',repos = NULL);
install.packages('queryBuilder_0.0.2.9000.tar.gz',repos = NULL);
if (!do.call(require, list("queryBuilder"))) {
install.packages("queryBuilder_0.0.2.9000a.tar.gz", repos = NULL
install.packages("queryBuilder_0.0.2.9000.tar.gz", repos = NULL
, type = "source");}
}

Expand Down

0 comments on commit 012fb24

Please sign in to comment.