File tree 2 files changed +4
-11
lines changed
2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ before_install:
28
28
echo "Installing OS X binary package for R"
29
29
sudo installer -pkg "/tmp/R-latest.pkg" -target
30
30
rm "/tmp/R-latest.pkg"
31
- brew install python3 homebrew/core/littler
32
- ./install_r_packages.r dplyr ggplot2
33
31
virtualenv venv -p python3
34
32
source venv/bin/activate
35
33
fi
@@ -44,8 +42,8 @@ before_install:
44
42
"deb https://cloud.r-project.org/bin/linux/ubuntu/ $(lsb_release -c -s)-cran35/"
45
43
- cat /etc/apt/sources.list
46
44
- sudo apt-get update -qq
47
- - sudo apt-get install -y r-base littler
48
- - sudo ./install_r_packages.r dplyr ggplot2
45
+ - sudo apt-get install -y r-base
46
+ - sudo Rscript ./install_r_packages.r dplyr ggplot2
49
47
- pip install flake8 pytest pytest-cov
50
48
- pip install ipython pandas numpy tzlocal
51
49
Original file line number Diff line number Diff line change 1
- # !/usr/bin/env r
2
-
3
- if (is.null(argv ) | length(argv )< 1 ) {
4
- cat(" Usage: installr.r pkg1 [pkg2 pkg3 ...]\n " )
5
- q()
6
- }
1
+ args <- commandArgs(trailingOnly = TRUE )
7
2
8
3
repos <- " https://cran.rstudio.com"
9
4
10
- install.packages(argv , repos = repos )
5
+ install.packages(args , repos = repos )
You can’t perform that action at this time.
0 commit comments