Skip to content

Commit d10f00f

Browse files
committed
ARROW-5919: [R] Test R-in-conda as a nightly build
Author: Uwe L. Korn <[email protected]> Author: Uwe L. Korn <[email protected]> Closes apache#4855 from xhochy/conda-r-docker and squashes the following commits: b3189b863 <Uwe L. Korn> Add LICENSE to conda_env_r 971181dec <Uwe L. Korn> Add to nightlies 743aa5955 <Uwe L. Korn> Update Dockerfile.conda b79e0c08e <Uwe L. Korn> ARROW-XXXX: Test R-in-conda as a nightly build
1 parent 2b868fe commit d10f00f

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

ci/conda_env_r.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
r-assertthat
19+
r-base
20+
r-bit64
21+
r-fs
22+
r-purrr
23+
r-r6
24+
r-rcpp >=0.12.18.2
25+
r-rlang
26+
r-tidyselect
27+
# Test dependencies
28+
pandoc
29+
r-covr
30+
r-hms
31+
r-lubridate
32+
r-pkgdown
33+
r-rmarkdown
34+
r-roxygen2
35+
r-testthat
36+
r-tibble

dev/tasks/tests.yml

+11
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ groups:
2020
# makes it easier to submit related tasks
2121
docker:
2222
- docker-r
23+
- docker-r-conda
2324
- docker-rust
2425
- docker-cpp
2526
- docker-cpp-alpine
@@ -88,6 +89,16 @@ tasks:
8889
- docker-compose build r
8990
- docker-compose run r
9091

92+
docker-r-conda:
93+
ci: circle
94+
platform: linux
95+
template: docker-tests/circle.linux.yml
96+
params:
97+
commands:
98+
- docker-compose build cpp
99+
- docker-compose build r-conda
100+
- docker-compose run r-conda
101+
91102
docker-rust:
92103
ci: circle
93104
platform: linux

docker-compose.yml

+15
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,21 @@ services:
400400
dockerfile: r/Dockerfile
401401
volumes: *ubuntu-volumes
402402

403+
r-conda:
404+
# Usage:
405+
# export R_VERSION=3.5.1
406+
# docker-compose build cpp
407+
# docker-compose build r-conda
408+
# docker-compose run r-conda
409+
image: arrow:r-conda-${R_VERSION:-3.5.1}
410+
shm_size: 2G
411+
build:
412+
context: .
413+
dockerfile: r/Dockerfile.conda
414+
args:
415+
R_VERSION: ${R_VERSION:-3.5.1}
416+
volumes: *ubuntu-volumes
417+
403418
######################### Tools and Linters #################################
404419

405420
# TODO(kszucs): site

0 commit comments

Comments
 (0)