Skip to content

Conversation

@thisisnic
Copy link
Member

@thisisnic thisisnic commented Aug 25, 2023

Rationale for this change

Checks fail on CRAN which don't fail on our CI - we should make them fail on our CI instead of just issue a warning

What changes are included in this PR?

Update settings for R builds so these checks raise error not warning

Are these changes tested?

Nope

Are there any user-facing changes?

No

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Aug 25, 2023
@thisisnic
Copy link
Member Author

On the initial CI run, we should hopefully get some R failures, as there's a rogue value in our code which this check should catch (I will fix it in another PR and then rebase this one once we've confirmed we successfully caught the failure)

Copy link
Member

@paleolimbot paleolimbot left a comment

Choose a reason for hiding this comment

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

Good catch!

It's worth noting that the ability to use something other than a string in packageVersion() comparison is rather obscure and, while it's certainly no problem to add this, I'm not personally worried that this particular issue will cause us future problems (unless, of course, there's still one lurking somewhere that we haven't caught yet...).

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Aug 25, 2023
@thisisnic
Copy link
Member Author

thisisnic commented Aug 25, 2023

It's worth noting that the ability to use something other than a string in packageVersion() comparison is rather obscure and, while it's certainly no problem to add this, I'm not personally worried that this particular issue will cause us future problems (unless, of course, there's still one lurking somewhere that we haven't caught yet...).

Alas, the problems are ones only visible in my inbox; it's caused us 3 (separate) email notifications from CRAN to say fix it or we'll get booted off! We've already had to do 1 additional release because of this, and have only avoided having to release 13.0.0.1 because of it as we haven't submitted 13.0.0 to CRAN yet, and so I don't want this to happen again.

@thisisnic
Copy link
Member Author

PR isn't ready to merge yet, as the CI needs to be failing before we can say we're happy it's worked...

@thisisnic
Copy link
Member Author

@github-actions crossbow submit test-r-gcc-11

@github-actions
Copy link

Revision: 2bfde615783f00aae21c9f143c507dc2b6fc782d

Submitted crossbow builds: ursacomputing/crossbow @ actions-582161a1fb

Task Status
test-r-gcc-11 Github Actions

@thisisnic
Copy link
Member Author

Hmm, this isn't working. I think the problem is that we're not using r-devel on these builds, and it's a new flag. I've added it to one of the Windows builds which is using r-devel.

@thisisnic thisisnic force-pushed the GH-37384_numeric_ci branch from 158ffea to 98158f8 Compare August 25, 2023 14:46
@thisisnic
Copy link
Member Author

Now I've got my failing CI job (the Windows one running R devel), I've rebased on main, which I've just pushed a fix for the problematic numeric version to, so now once the CI is green, we can merge.

@thisisnic thisisnic merged commit c079dac into apache:main Aug 25, 2023
@thisisnic thisisnic removed the awaiting merge Awaiting merge label Aug 25, 2023
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit c079dac.

There were 3 benchmark results indicating a performance regression:

The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them.

loicalleyne pushed a commit to loicalleyne/arrow that referenced this pull request Nov 13, 2023
…TS_ = TRUE on CI (apache#37385)

### Rationale for this change

Checks fail on CRAN which don't fail on our CI - we should make them fail on our CI instead of just issue a warning

### What changes are included in this PR?

Update settings for R builds so these checks raise error not warning

### Are these changes tested?

Nope 

### Are there any user-facing changes?

No
* Closes: apache#37384

Authored-by: Nic Crane <thisisnic@gmail.com>
Signed-off-by: Nic Crane <thisisnic@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[R] Set _R_CHECK_STOP_ON_INVALID_NUMERIC_VERSION_INPUTS_ = TRUE on CI

2 participants