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

expect_type_linter #924

Merged
merged 20 commits into from
Mar 15, 2022
Merged

expect_type_linter #924

merged 20 commits into from
Mar 15, 2022

Conversation

MichaelChirico
Copy link
Collaborator

Part of #884

"numeric", "function", "primitive", "environment", "pairlist", "promise",
"language", "call", "name", "symbol", "expression"
)
patrick::with_parameters_test_that(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We use patrick to handle parameterized tests. This particular case could be refactored into a for loop if we'd like to avoid the dep, but there will be other cases where it provides a cleaner solution.

man/linters.Rd Outdated Show resolved Hide resolved
R/expect_type_linter.R Outdated Show resolved Hide resolved
R/expect_type_linter.R Outdated Show resolved Hide resolved
R/expect_type_linter.R Show resolved Hide resolved
R/expect_type_linter.R Outdated Show resolved Hide resolved
NAMESPACE Outdated Show resolved Hide resolved
tests/testthat.R Outdated Show resolved Hide resolved
@MichaelChirico MichaelChirico merged commit ec5a625 into master Mar 15, 2022
@MichaelChirico MichaelChirico deleted the expect_type branch March 15, 2022 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants