-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-34021][R] Fix hyper links in SparkR documentation for CRAN submission #31058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
cc @felixcheung and @shivaram. I think we can just start it from Spark 3.1.0 on CRAN. BTW, I verified all commits that added http(s) links to the docs after Spark 3.0.0: their links look all valid and there's no more move or redirections here that are new in Spark 3.1. So only fixing the two problems pointed out for Spark 3.0.1 should work. |
|
Wow, thanks @dongjoon-hyun. |
MaxGekk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manually tested by clicking the links
Can we do that automatically on our side?
|
Not sure. I should I ask what kind of tool they use, actually. Ideally that should be part of |
|
Test build #133719 has finished for PR 31058 at commit
|
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Merged to master and branch-3.1 |
…mission
### What changes were proposed in this pull request?
3.0.1 CRAN submission was failed as the reason below:
```
Found the following (possibly) invalid URLs:
URL: http://jsonlines.org/ (moved to https://jsonlines.org/)
From: man/read.json.Rd
man/write.json.Rd
Status: 200
Message: OK
URL: https://dl.acm.org/citation.cfm?id=1608614 (moved to
https://dl.acm.org/doi/10.1109/MC.2009.263)
From: inst/doc/sparkr-vignettes.html
Status: 200
Message: OK
```
The links were being redirected now. This PR checked all hyperlinks in the docs such as `href{...}` and `url{...}`, and fixed all in SparkR:
- Fix two problems above.
- Fix http to https
- Fix `https://www.apache.org/ https://spark.apache.org/` -> `https://www.apache.org https://spark.apache.org`.
### Why are the changes needed?
For CRAN submission.
### Does this PR introduce _any_ user-facing change?
Virtually no because it's just cleanup that CRAN requires.
### How was this patch tested?
Manually tested by clicking the links
Closes #31058 from HyukjinKwon/SPARK-34021.
Authored-by: HyukjinKwon <[email protected]>
Signed-off-by: HyukjinKwon <[email protected]>
(cherry picked from commit 0ba3ab4)
Signed-off-by: HyukjinKwon <[email protected]>
…mission
3.0.1 CRAN submission was failed as the reason below:
```
Found the following (possibly) invalid URLs:
URL: http://jsonlines.org/ (moved to https://jsonlines.org/)
From: man/read.json.Rd
man/write.json.Rd
Status: 200
Message: OK
URL: https://dl.acm.org/citation.cfm?id=1608614 (moved to
https://dl.acm.org/doi/10.1109/MC.2009.263)
From: inst/doc/sparkr-vignettes.html
Status: 200
Message: OK
```
The links were being redirected now. This PR checked all hyperlinks in the docs such as `href{...}` and `url{...}`, and fixed all in SparkR:
- Fix two problems above.
- Fix http to https
- Fix `https://www.apache.org/ https://spark.apache.org/` -> `https://www.apache.org https://spark.apache.org`.
For CRAN submission.
Virtually no because it's just cleanup that CRAN requires.
Manually tested by clicking the links
Closes apache#31058 from HyukjinKwon/SPARK-34021.
Authored-by: HyukjinKwon <[email protected]>
Signed-off-by: HyukjinKwon <[email protected]>
What changes were proposed in this pull request?
3.0.1 CRAN submission was failed as the reason below:
The links were being redirected now. This PR checked all hyperlinks in the docs such as
href{...}andurl{...}, and fixed all in SparkR:https://www.apache.org/ https://spark.apache.org/->https://www.apache.org https://spark.apache.org.Why are the changes needed?
For CRAN submission.
Does this PR introduce any user-facing change?
Virtually no because it's just cleanup that CRAN requires.
How was this patch tested?
Manually tested by clicking the links