-
Notifications
You must be signed in to change notification settings - Fork 19
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 #20 from mrcaseb/transition-to-curl-package
Drop RCurl dependency and use curl instead
- Loading branch information
Showing
6 changed files
with
18 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# gridtext 0.1.4.9000 | ||
|
||
No changes yet. | ||
- Transition to curl package and drop RCurl dependency | ||
|
||
# gridtext 0.1.4 | ||
|
||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,10 @@ | ||
test_that("get_file works", { | ||
# skip test on cran because the url could be broken in the future | ||
skip_on_cran() | ||
# get_file returns raw data if it's an url and a character path if it's | ||
# a local path. That's why we test it with the function read_image that calls it | ||
expect_identical( | ||
read_image("https://upload.wikimedia.org/wikipedia/commons/6/62/Biedronka.drs.png"), | ||
read_image("../figs/test_image.png") | ||
) | ||
}) |