Skip to content

Commit 3a20aa6

Browse files
committed
'fix-scala-styela.etc'
2 parents 9b01aa7 + 6c1ffef commit 3a20aa6

File tree

604 files changed

+25753
-15468
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

604 files changed

+25753
-15468
lines changed

.github/PULL_REQUEST_TEMPLATE

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ Please clarify why the changes are needed. For instance,
2929
-->
3030

3131

32-
### Does this PR introduce any user-facing change?
32+
### Does this PR introduce _any_ user-facing change?
3333
<!--
34+
Note that it means *any* user-facing change including all aspects such as the documentation fix.
3435
If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
36+
If possible, please also clarify if this is a user-facing change compared to the released Spark versions or within the unreleased branches such as master.
3537
If no, write 'No'.
3638
-->
3739

.github/workflows/master.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ jobs:
103103
- uses: actions/setup-java@v1
104104
with:
105105
java-version: '11'
106-
- name: install R
106+
- uses: r-lib/actions/setup-r@v1
107+
with:
108+
r-version: '3.6.2'
109+
- name: Install lib
107110
run: |
108-
echo 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/' | sudo tee -a /etc/apt/sources.list
109-
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xE298A3A825C0D65DFD57CBB651716619E084DAB9" | sudo apt-key add
110-
sudo apt-get update
111-
sudo apt-get install -y r-base r-base-dev libcurl4-openssl-dev
111+
sudo apt-get install -y libcurl4-openssl-dev
112112
- name: install R packages
113113
run: |
114114
sudo Rscript -e "install.packages(c('curl', 'xml2', 'httr', 'devtools', 'testthat', 'knitr', 'rmarkdown', 'roxygen2', 'e1071', 'survival'), repos='https://cloud.r-project.org/')"
@@ -139,12 +139,12 @@ jobs:
139139
- uses: actions/setup-ruby@v1
140140
with:
141141
ruby-version: '2.7'
142-
- name: Install R
142+
- uses: r-lib/actions/setup-r@v1
143+
with:
144+
r-version: '3.6.2'
145+
- name: Install lib and pandoc
143146
run: |
144-
echo 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/' | sudo tee -a /etc/apt/sources.list
145-
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xE298A3A825C0D65DFD57CBB651716619E084DAB9" | sudo apt-key add
146-
sudo apt-get update
147-
sudo apt-get install -y r-base r-base-dev libcurl4-openssl-dev pandoc
147+
sudo apt-get install -y libcurl4-openssl-dev pandoc
148148
- name: Install packages
149149
run: |
150150
pip install sphinx mkdocs numpy

R/create-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pushd "$FWDIR" > /dev/null
4949
mkdir -p pkg/html
5050
pushd pkg/html
5151

52-
"$R_SCRIPT_PATH/Rscript" -e 'libDir <- "../../lib"; library(SparkR, lib.loc=libDir); library(knitr); knit_rd("SparkR", links = tools::findHTMLlinks(paste(libDir, "SparkR", sep="/")))'
52+
"$R_SCRIPT_PATH/Rscript" -e 'libDir <- "../../lib"; library(SparkR, lib.loc=libDir); knitr::knit_rd("SparkR", links = tools::findHTMLlinks(file.path(libDir, "SparkR")))'
5353

5454
popd
5555

R/create-rd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ pushd "$FWDIR" > /dev/null
3434
. "$FWDIR/find-r.sh"
3535

3636
# Generate Rd files if devtools is installed
37-
"$R_SCRIPT_PATH/Rscript" -e ' if("devtools" %in% rownames(installed.packages())) { library(devtools); devtools::document(pkg="./pkg", roclets=c("rd")) }'
37+
"$R_SCRIPT_PATH/Rscript" -e ' if(requireNamespace("devtools", quietly=TRUE)) { setwd("'$FWDIR'"); devtools::document(pkg="./pkg", roclets="rd") }'

R/pkg/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Suggests:
2323
testthat,
2424
e1071,
2525
survival,
26-
arrow
26+
arrow (>= 0.15.1)
2727
Collate:
2828
'schema.R'
2929
'generics.R'

0 commit comments

Comments
 (0)