Skip to content

expect_type_linter - #924

Merged
MichaelChirico merged 20 commits into
masterfrom
expect_type
Mar 15, 2022
Merged

MichaelChirico merged 20 commits into
masterfrom
expect_type

Conversation

@MichaelChirico

Copy link
Copy Markdown
Collaborator

Part of #884

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

Copy link
Copy Markdown
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.

Comment thread R/expect_type_linter.R Resolved
Comment thread inst/lintr/linters.csv Resolved
Comment thread man/linters.Rd Resolved
Comment thread R/expect_type_linter.R Resolved
Comment thread R/expect_type_linter.R Resolved
Comment thread R/expect_type_linter.R Resolved
Comment thread R/expect_type_linter.R Resolved
Comment thread NAMESPACE Resolved
Comment thread tests/testthat.R Resolved
@MichaelChirico
MichaelChirico merged commit ec5a625 into master Mar 15, 2022
@MichaelChirico
MichaelChirico deleted the expect_type branch March 15, 2022 06:45
@MichaelChirico MichaelChirico mentioned this pull request Mar 20, 2022
38 tasks done
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