Skip to content

Commit

Permalink
fix: should use host only
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Jul 13, 2023
1 parent cf96612 commit a66f0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/helper.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
skip_if_offline <- function() {
res <- tryCatch(
pingr::ping("https://api.github.com", count = 1L),
pingr::ping("api.github.com", count = 1L),
error = function(e) NA
)

Expand Down

0 comments on commit a66f0c6

Please sign in to comment.