Skip to content

Bump R dependency to R>=3.3.0 - #6232

Merged
MichaelChirico merged 5 commits into
masterfrom
r33
Jul 11, 2024
Merged

MichaelChirico merged 5 commits into
masterfrom
r33

Conversation

@MichaelChirico

@MichaelChirico MichaelChirico commented Jul 9, 2024 •

Copy link
Copy Markdown
Member

Closes #6231

@github-actions

github-actions Bot commented Jul 9, 2024 •

Copy link
Copy Markdown

Comparison Plot

Generated via commit 89e83c7

Download link for the artifact containing the test results: ↓ atime-results.zip

Time taken to finish the standard R installation steps: 11 minutes and 59 seconds

Time taken to run atime::atime_pkg on the tests: 3 minutes and 44 seconds

@joshhwuu

This comment was marked as resolved.

@MichaelChirico

This comment was marked as resolved.

@joshhwuu

This comment was marked as resolved.

@MichaelChirico MichaelChirico added this to the 1.16.0 milestone Jul 10, 2024

@tdhock tdhock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice NEWS entry

Comment thread inst/tests/tests.Rraw Outdated
test(610.2, chgroup(x), seq_along(x))
x = sample(LETTERS,1000,replace=TRUE)
test(610.3, chorder(x), with_c_collate(base::order(x)))
test(610.3, chorder(x), base::order(x, method="radix"))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would keep the old test. Radix implies C locale, or at least should, but we are not testing exactly the same anymore... Anyway test should be ideally vs generated output and not a function call

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks... I see your point about the former -- using method="radix" is actually a proxy way to go about testing what we want here, explicitly calling out with_c_collate() makes the intent clearer & more direct.

I don't agree about the latter point, in some tests we are explicitly trying to match a base equivalent, in the other we don't gain much by having a vector of randomly-ordered integers, function call to base order() is clearer.

@jangorecki

jangorecki commented Aug 9, 2024 •

Copy link
Copy Markdown
Member

yihui/litedown@7c34921

Nice to see we are not the only ones to care about running on old R versions. What's even more interesting that litedown is so new package that it is not even yet on CRAN, so could easily choose some recent R dependency without leaving old users out.

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.

Bump R version dependency to 3.3

4 participants