Skip to content
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

[SPARK-37474][R][DOCS][FOLLOW-UP] Make SparkR documentation able to build on Mac OS #36423

Closed
wants to merge 1 commit into from

Conversation

HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

Currently SparkR documentation fails because of the usage grep -oP . Mac OS does not have this.
This PR fixes it via using the existing way used in the current scripts at:

VERSION=`grep Version "$FWDIR/pkg/DESCRIPTION" | awk '{print $NF}'`

Why are the changes needed?

To make the dev easier.

Does this PR introduce any user-facing change?

No, dev-only.

How was this patch tested?

Manually tested via:

cd R
./create-docs.sh

@HyukjinKwon
Copy link
Member Author

cc @zero323 FYI

@github-actions github-actions bot added the R label May 2, 2022
Copy link
Member

@zero323 zero323 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for working on this @HyukjinKwon!

@HyukjinKwon
Copy link
Member Author

Merged to master and branch-3.3.

HyukjinKwon added a commit that referenced this pull request May 2, 2022
…uild on Mac OS

### What changes were proposed in this pull request?

Currently SparkR documentation fails because of the usage `grep -oP `. Mac OS does not have this.
This PR fixes it via using the existing way used in the current scripts at: https://github.com/apache/spark/blob/0494dc90af48ce7da0625485a4dc6917a244d580/R/check-cran.sh#L52

### Why are the changes needed?

To make the dev easier.

### Does this PR introduce _any_ user-facing change?

No, dev-only.

### How was this patch tested?

Manually tested via:

```bash
cd R
./create-docs.sh
```

Closes #36423 from HyukjinKwon/SPARK-37474.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 6479455)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
@HyukjinKwon HyukjinKwon deleted the SPARK-37474 branch January 15, 2024 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants