google / google/patrick

Consider an API change: `test_these()`

Open
#22 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
R
Stars
145
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Suggested from @hadley:

```
test_these("{type} data is successfully converted:",
{
input <- convert(test_data)
expect_type(input, type)
},
list(
double = list(test_data = numeric_data, type = "double"),
character = list(test_data = character_data, type = "character")
)
)
```

https://github.com/r-lib/roxygen2/pull/1574#discussion_r1455734671

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.