summarylogtreecommitdiffstats
path: root/setup.R
blob: 5480dcda50ec2b68f1c052caa93fd1a862128778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env Rscript
args = commandArgs(trailingOnly=TRUE)

# add PKGBUILD path to the library
.libPaths( c( .libPaths(), args[1]) )

if (!require("remotes",quietly=TRUE))
  install.packages("remotes",
                   lib=args[1],
                   repo="https://cloud.r-project.org/")

remotes::install_local("ledgerplots",lib=args[1])