-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allows emails with capital letters #28
- Loading branch information
Showing
2 changed files
with
4 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ test_that("oadoi_fetch returns", { | |
"10.1093/ref:odnb/20344"), email) | ||
g <- oadoi_fetch(dois = c("10.7717/peerj.2323"), email) | ||
h <- oadoi_fetch("10.1016/j.aim.2009.06.008", email) | ||
i <- oadoi_fetch("10.1016/j.aim.2009.06.008", email = "[email protected]") | ||
|
||
|
||
# correct classes | ||
|
@@ -26,6 +28,7 @@ test_that("oadoi_fetch returns", { | |
expect_is(f, "tbl_df") | ||
expect_is(g, "tbl_df") | ||
expect_is(h, "tbl_df") | ||
expect_is(i, "tbl_df") | ||
|
||
# some character matches | ||
expect_match(h$oa_status, "closed") | ||
|
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.
59d0eb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R/utils.r:39:1: style: Lines should not be more than 80 characters.