summarylogtreecommitdiffstats
path: root/setup.R
diff options
context:
space:
mode:
Diffstat (limited to 'setup.R')
-rw-r--r--setup.R9
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])