diff options
author | Jenya Sovetkin | 2018-11-26 12:43:11 +0100 |
---|---|---|
committer | Jenya Sovetkin | 2018-11-26 12:43:11 +0100 |
commit | 105f2236dd911722cc66a605668a45ac4a2fb910 (patch) | |
tree | 4d8b84aca2acb7adb4fccbb21a28ff9640f09c68 /setup.R | |
parent | 9e7f0d988cab3b7b0e73d8fe8bd47013ea703713 (diff) | |
download | aur-105f2236dd911722cc66a605668a45ac4a2fb910.tar.gz |
install using an R script
that way dependencies will be resolved
Diffstat (limited to 'setup.R')
-rw-r--r-- | setup.R | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/setup.R b/setup.R new file mode 100644 index 000000000000..ac8fbbb106cc --- /dev/null +++ b/setup.R @@ -0,0 +1,9 @@ +#!/usr/bin/env Rscript +args = commandArgs(trailingOnly=TRUE) + +if (!require("remotes",quietly=TRUE)) + install.packages("remotes", + lib=args[1], + repo="https://cloud.r-project.org/") + +remotes::install_local("ledgerplots",lib=args[1]) |