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

[feature request] export on_cran #1921

Closed
pawelru opened this issue Jan 18, 2024 · 1 comment
Closed

[feature request] export on_cran #1921

pawelru opened this issue Jan 18, 2024 · 1 comment

Comments

@pawelru
Copy link

pawelru commented Jan 18, 2024

As a developer
Sometimes I want to use exactly the same condition as in skip_on_cran().
An example could be: if not on cran - set following options in my testing setup file.

@hadley
Copy link
Member

hadley commented Feb 13, 2024

We don't want to export these functions because they are not directly related to the purpose of testthat. But you're welcome to copy and paste and recreate in your own package; they're generally pretty simple.

@hadley hadley closed this as completed Feb 13, 2024
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

No branches or pull requests

2 participants