forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-7146: [R][CI] Various fixes and speedups for the R docker-compo…
…se setup There's a lot of little things in here that have the effect of cutting 9 minutes off the build time and fixing a few bugs. * Move R package dependency installation into the Dockerfile for better caching * Sets MAKEFLAGS to the actual number of cores, not hard-coded to 8 (if this works out well I'll do the same to fix https://issues.apache.org/jira/browse/ARROW-6957) * Removes hard-coded references to `bionic` so that R installation will work appropriately on other Ubuntu versions; also makes note of a dependency between OS version and availability of R versions for those who might try to run an older R version. * Installs a lighter version of Romain's `decor` package, which cuts out dozens of unnecessary dependencies. I may remove this altogether, or at least flag it to be off on CI, because we don't need it there, it's just for developers. * Skips vignette checks, which thereby avoid compiling and installing the R package an extra time (the check is pointless for us because there's no R code in the vignette) * Removes an unnecessary `R CMD INSTALL`, which compiled the R bindings again (i.e., previously we compiled the R bindings 3 times, now we're down to 1) * Turns off a check for valid URLs, saving about 30s * Turns on more verbose error printing when there's a failure, rather than the default truncation at 13 lines. * Uses the `rcmdcheck` package so we can fail the build on check Warnings (which cause CRAN failures). This was default on Travis. * Adds some missing UTF-8 configuration to the dockerfile to fix some check Warnings * Fixes some bad documentation crossreferences from apache#5859 that were causing other Warnings * Correctly passes `-Werror` into the docker environment, which apache#5940 tried to add * Restore the `TEST_R_WITH_ARROW` env var (lost in the move from Travis-CI) to make sure we're not just skipping all the tests Closes apache#5967 from nealrichardson/tune-r-docker and squashes the following commits: 2d691aa <Neal Richardson> Feedback from @kou; also add env vars to appveyor job 64994c9 <Neal Richardson> Make sure we're testing with libarrow 9c10ca9 <Neal Richardson> Fix missing doc crossreferences from apache#5859 d0b07d7 <Neal Richardson> Move -Werror setting so that it works (and suppress a NOTE about it) 4e9bbe8 <Neal Richardson> Don't hard-code bionic 4809190 <Neal Richardson> Fix UTF-8 issues in R docker container 798522d <Neal Richardson> Oops. d068c4f <Neal Richardson> Restore flight off flag 2691976 <Neal Richardson> Move R dependency installation to the dockerfile. Use rcmdcheck package so we can fail the build on warnings Authored-by: Neal Richardson <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
- Loading branch information
1 parent
27a292f
commit e76e1f6
Showing
16 changed files
with
79 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,4 @@ | |
!python/requirements*.txt | ||
!python/manylinux1/** | ||
!python/manylinux2010/** | ||
!r/DESCRIPTION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ pandoc | |
r-covr | ||
r-hms | ||
r-lubridate | ||
r-rcmdcheck | ||
r-rmarkdown | ||
r-testthat | ||
r-tibble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.