-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1828 from olivroy/str-catalogue
Lint tests + reduce pipe usage + use test helper to test common patterns
- Loading branch information
Showing
30 changed files
with
537 additions
and
898 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# str_substitute() works well | ||
|
||
Code | ||
str_substitute(c("223", "223", "224"), c(1, 2), 2) | ||
Condition | ||
Error in `str_substitute()`: | ||
! Can't recycle `start` (size 2) to size 3. | ||
Code | ||
str_substitute(c("223", "223", "224"), c(1), c(2, 3)) | ||
Condition | ||
Error in `str_substitute()`: | ||
! Can't recycle `end` (size 2) to size 3. | ||
Code | ||
str_substitute(c("223", "223", "224", "225"), c(1, 2, 3, 4), c(2, 3)) | ||
Condition | ||
Error in `str_substitute()`: | ||
! Can't recycle `end` (size 2) to size 4. | ||
|
Oops, something went wrong.