Skip to content

Make tinytest version requirement explicit - #107

Merged
andrjohns merged 1 commit into
andrjohns:mainfrom
MichaelChirico:patch-1
Oct 11, 2026
Merged

andrjohns merged 1 commit into
andrjohns:mainfrom
MichaelChirico:patch-1

Conversation

@MichaelChirico

Copy link
Copy Markdown
Contributor

tinytest::exit_if_not() comes from v1.4.1:

cran/tinytest@de37275

E.g.

exit_if_not(R.version$major > "3")

@andrjohns

Copy link
Copy Markdown
Owner

tinytest 1.4.1 is over three years old at this point, why is this necessary?

@MichaelChirico

Copy link
Copy Markdown
Contributor Author

Well, it tripped me up, so there's that.

Suggests version requirements aren't even checked by install.packages AFAIK so it wouldn't necessarily have helped the next sap in my situation; but neither does there seem to be harm in expressing version dependencies in an eventually-consistent manner.

@andrjohns
andrjohns merged commit 7f02007 into andrjohns:main Oct 11, 2026
@MichaelChirico
MichaelChirico deleted the patch-1 branch October 11, 2026 13:46
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.

2 participants