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

GH-15009: [R] stringr 1.5.0 with the str_like function is already released #15010

Merged
merged 4 commits into from
Dec 18, 2022

Conversation

eitsupi
Copy link
Contributor

@eitsupi eitsupi commented Dec 17, 2022

Signed-off-by: SHIMA Tatsuya <ts1s1andn@gmail.com>
Signed-off-by: SHIMA Tatsuya <ts1s1andn@gmail.com>
Signed-off-by: SHIMA Tatsuya <ts1s1andn@gmail.com>
@github-actions
Copy link

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

In the case of old issues on JIRA the title also supports:

ARROW-${JIRA_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}
PARQUET-${JIRA_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

See also:

@eitsupi eitsupi changed the title [R] stringr 1.5.0 with the str_like function is already released GH-15009: [R] stringr 1.5.0 with the str_like function is already released Dec 17, 2022
@github-actions
Copy link

@github-actions
Copy link

⚠️ GitHub issue #15009 has been automatically assigned in GitHub to PR creator.

@github-actions
Copy link

⚠️ GitHub issue #15009 has no components, please add labels for components.

Signed-off-by: SHIMA Tatsuya <ts1s1andn@gmail.com>
Copy link
Member

@thisisnic thisisnic left a comment

Choose a reason for hiding this comment

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

One small change, otherwise looks good; thanks for making this PR!

do_not_link <- c(
"stringr::str_like" # Still only in the unreleased version
)
do_not_link <- c()
Copy link
Member

Choose a reason for hiding this comment

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

Given this us now an empty vector, how about we remove this and update the code that uses it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That would be fine, but considering the possibility of similar cases occurring in the future, I thought it was worth leaving it for then.

Copy link
Member

Choose a reason for hiding this comment

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

That's logical. The reason I suggested removing it is that these cases occur very infrequently if at all; this is the only example out of >200 functions and happened because we implemented a function from the dev version of stringr, which is highly unusual and there are no plans to do this again.

That said it's so minor, I'm not going to block merging because of it; let me know if you'd rather leave it in and I'll approve this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for the explanation. I don't know how str_like was implemented here, so your observation that the same is unlikely to happen in the future makes sense to me.

However, updating the script that generates the documentation seems generally more compelling to track in a separate PR, given that PR commits are squashed, so I would still prefer to keep it in this PR. (I think it would be far easier to revert from the future if this process were removed in another PR)

Copy link
Member

Choose a reason for hiding this comment

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

That's reasonable, makes sense.

Copy link
Member

@thisisnic thisisnic left a comment

Choose a reason for hiding this comment

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

Thanks for making this update!

@thisisnic thisisnic merged commit 6d3aec4 into apache:master Dec 18, 2022
@eitsupi eitsupi deleted the r-stringr-1.5.0 branch December 18, 2022 07:40
@ursabot
Copy link

ursabot commented Dec 18, 2022

Benchmark runs are scheduled for baseline = 2c768a1 and contender = 6d3aec4. 6d3aec4 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Finished ⬇️0.13% ⬆️0.0%] test-mac-arm
[Finished ⬇️0.27% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.21% ⬆️0.45%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 6d3aec49 ec2-t3-xlarge-us-east-2
[Finished] 6d3aec49 test-mac-arm
[Finished] 6d3aec49 ursa-i9-9960x
[Finished] 6d3aec49 ursa-thinkcentre-m75q
[Finished] 2c768a17 ec2-t3-xlarge-us-east-2
[Finished] 2c768a17 test-mac-arm
[Finished] 2c768a17 ursa-i9-9960x
[Finished] 2c768a17 ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

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.

[R] stringr 1.5.0 with the str_like function is already released
3 participants