Skip to content

Commit 65a90b5

Browse files
committed
install r 4.x
1 parent 6c3ccda commit 65a90b5

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

CI/circle_parallel.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,19 @@ else
4545
java -version
4646
#./mvnw clean install
4747

48-
sudo apt install r-base r-base-dev -y
48+
sudo apt-get update
49+
sudo apt-get install -y apt-transport-https software-properties-common
50+
# Add CRAN repository for R 4.x
51+
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
52+
sudo add-apt-repository 'deb https://cloud.r-project.org jammy-cran40/'
53+
sudo apt-get update
54+
sudo apt-get install -y r-base
55+
56+
#sudo apt install r-base r-base-dev -y
4957
sudo apt-get install r-base-core libssl-dev libcurl4-openssl-dev -y # for httr
5058

59+
R version
60+
5161
(cd samples/client/petstore/R && mvn integration-test)
5262
#(cd samples/client/petstore/R-httr2 && mvn integration-test)
5363

0 commit comments

Comments
 (0)