This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new 0246f48 [SPARK-28766][R][DOC] Fix CRAN incoming feasibility warning
on invalid URL
0246f48 is described below
commit 0246f48979c7365e5c4d86d6d1605f740885743a
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sat Aug 17 11:11:36 2019 -0700
[SPARK-28766][R][DOC] Fix CRAN incoming feasibility warning on invalid URL
### What changes were proposed in this pull request?
This updates an URL in R doc to fix `Had CRAN check errors; see logs`.
### Why are the changes needed?
Currently, this invalid link causes a warning during CRAN incoming
feasibility. We had better fix this before submitting `3.0.0/2.4.4/2.3.4`.
**BEFORE**
```
* checking CRAN incoming feasibility ... NOTE
Maintainer: ‘Shivaram Venkataraman <shivaramcs.berkeley.edu>’
Found the following (possibly) invalid URLs:
URL: https://wiki.apache.org/hadoop/HCFS (moved to
https://cwiki.apache.org/confluence/display/hadoop/HCFS)
From: man/spark.addFile.Rd
Status: 404
Message: Not Found
```
**AFTER**
```
* checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
Maintainer: ‘Shivaram Venkataraman <shivaramcs.berkeley.edu>’
```
### Does this PR introduce any user-facing change?
No.
### How was this patch tested?
Check the warning message during R testing.
```
$ R/install-dev.sh
$ R/run-tests.sh
```
Closes #25483 from dongjoon-hyun/SPARK-28766.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 5756a47a9fafca2d0b31de2b2374429f73b6e5e2)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
R/pkg/R/context.R | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/R/pkg/R/context.R b/R/pkg/R/context.R
index e991367..b49f7c3 100644
--- a/R/pkg/R/context.R
+++ b/R/pkg/R/context.R
@@ -321,7 +321,8 @@ setCheckpointDirSC <- function(sc, dirName) {
#'
#' A directory can be given if the recursive option is set to true.
#' Currently directories are only supported for Hadoop-supported filesystems.
-#' Refer Hadoop-supported filesystems at
\url{https://wiki.apache.org/hadoop/HCFS}.
+#' Refer Hadoop-supported filesystems at
+#' \url{https://cwiki.apache.org/confluence/display/HADOOP2/HCFS}.
#'
#' Note: A path can be added only once. Subsequent additions of the same path
are ignored.
#'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]