Skip to content

Simplify seq.nanoduration for devel bit64 - #152

Merged
eddelbuettel merged 1 commit into
eddelbuettel:masterfrom
MichaelChirico:nanoduration-unkludge
Apr 21, 2026
Merged

eddelbuettel merged 1 commit into
eddelbuettel:masterfrom
MichaelChirico:nanoduration-unkludge

Conversation

@MichaelChirico

@MichaelChirico MichaelChirico commented Mar 18, 2026 •

Copy link
Copy Markdown
Contributor

Closes #151. This improves the test suite under the version of {bit64} on its way to CRAN (4.8.0).

Two PRs are needed to pass {bit64} 4.8.0:

One PR reduces the noise of the suite on 4.8.0:

@eddelbuettel eddelbuettel left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Does that need a versioned depends or imports given 'upstream fix' ?

@eddelbuettel

Copy link
Copy Markdown
Owner

Note that it crashes in CI presumably because CI at current only knows CRAN bit64.

@MichaelChirico

This comment was marked as outdated.

@MichaelChirico
MichaelChirico force-pushed the nanoduration-unkludge branch from 1ccf691 to 54ac822 Compare April 20, 2026 14:41
@MichaelChirico

Copy link
Copy Markdown
Contributor Author

Note that it crashes in CI presumably because CI at current only knows CRAN bit64.

Good point. I edited so that the new approach is only done conditionally.

@eddelbuettel

Copy link
Copy Markdown
Owner

Given that it is 'breaking behaviour' I would prefer conditional use, ideally in the code rather than the tests. Is that possible?

If it really really is hard requirement we can put it into DESCRIPTION would I would prefer to cast a wider, easier-on-users net. Sometimes we can, sometimes we can't.

@MichaelChirico
MichaelChirico force-pushed the nanoduration-unkludge branch from 54ac822 to 3bb4a6b Compare April 20, 2026 14:50
@MichaelChirico

Copy link
Copy Markdown
Contributor Author

Agreed. It's branched now so we are green here with pre- and post-4.8.0 {bit64}.

@eddelbuettel eddelbuettel left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Nice and clean and minimal, and in 'due course' (a year?) we can remove the conditionalness.

@MichaelChirico

Copy link
Copy Markdown
Contributor Author

thanks for insisting on higher-quality code!

@eddelbuettel

Copy link
Copy Markdown
Owner

I am in between three things but I will try to check here too. I was a little puzzled I had breakage so I want to take another look. I think when I pulled last bit64 still say 4.7.99. I guess I need to pull too? You test used '4.8.0'.

@MichaelChirico

Copy link
Copy Markdown
Contributor Author

You test used '4.8.0'.

Of course now I realize I numbered the release incorrectly 🙈 (it should be 4.7.0)

Per Uwe 4.8.0 will be released from purgatory momentarily, so I would just wait for that to be official.

@eddelbuettel

Copy link
Copy Markdown
Owner

it should be 4.7.0

If you email them right now you can probably get 4.8.0 nixed away and re-upload as 4.7.0.

@eddelbuettel

Copy link
Copy Markdown
Owner

Locally, and with 4.8.0 I still get 50 fails in test_nanoival.R

@eddelbuettel
eddelbuettel merged commit b3a0686 into eddelbuettel:master Apr 21, 2026
2 checks passed
@MichaelChirico
MichaelChirico deleted the nanoduration-unkludge branch April 22, 2026 00:00
@MichaelChirico

MichaelChirico commented Apr 22, 2026 •

Copy link
Copy Markdown
Contributor Author

If you email them right now you can probably get 4.8.0 nixed away and re-upload as 4.7.0.

(for completeness, yes, I got there in time, but I decided against it because my dev version had been 4.7.99 for some time, and I think it's more preferable for the CRAN release to come after dev than it is to have strictly correct increment of the CRAN version number, i.e., the real mistake/original sin was the wrong dev version number for ~1 year. thanks for the encouragement to get it fixed though!)

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.

seq.nanoduration overspecifies 'seq()' (4 arguments)

2 participants