Skip to content

Conversation

@HyukjinKwon
Copy link
Member

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

@HyukjinKwon
Copy link
Member Author

HyukjinKwon commented Jan 6, 2021

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.

@HyukjinKwon
Copy link
Member Author

Wow, thanks @dongjoon-hyun.

Copy link
Member

@MaxGekk MaxGekk left a 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?

@HyukjinKwon
Copy link
Member Author

Not sure. I should I ask what kind of tool they use, actually. Ideally that should be part of R CMD check but seems not.

@SparkQA
Copy link

SparkQA commented Jan 6, 2021

Test build #133719 has finished for PR 31058 at commit 028319c.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jan 6, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38306/

@SparkQA
Copy link

SparkQA commented Jan 6, 2021

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38306/

@HyukjinKwon
Copy link
Member Author

Merged to master and branch-3.1

HyukjinKwon added a commit that referenced this pull request Jan 7, 2021
…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]>
@HyukjinKwon HyukjinKwon deleted the SPARK-34021 branch January 4, 2022 00:55
sumwale pushed a commit to TIBCOSoftware/snappy-spark that referenced this pull request Jun 29, 2022
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants