-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f3a072
commit 4646f2c
Showing
85 changed files
with
2,110 additions
and
611 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: httr2 | ||
Title: Perform HTTP Requests and Process the Responses | ||
Version: 1.0.7 | ||
Version: 1.1.0 | ||
Authors@R: c( | ||
person("Hadley", "Wickham", , "[email protected]", role = c("aut", "cre")), | ||
person("Posit Software, PBC", role = c("cph", "fnd")), | ||
|
@@ -14,7 +14,7 @@ License: MIT + file LICENSE | |
URL: https://httr2.r-lib.org, https://github.com/r-lib/httr2 | ||
BugReports: https://github.com/r-lib/httr2/issues | ||
Depends: R (>= 4.0) | ||
Imports: cli (>= 3.0.0), curl (>= 6.0.1), glue, lifecycle, magrittr, | ||
Imports: cli (>= 3.0.0), curl (>= 6.1.0), glue, lifecycle, magrittr, | ||
openssl, R6, rappdirs, rlang (>= 1.1.0), vctrs (>= 0.6.3), | ||
withr | ||
Suggests: askpass, bench, clipr, covr, docopt, httpuv, jose, jsonlite, | ||
|
@@ -24,14 +24,14 @@ VignetteBuilder: knitr | |
Config/Needs/website: tidyverse/tidytemplate | ||
Config/testthat/edition: 3 | ||
Config/testthat/parallel: true | ||
Config/testthat/start-first: resp-stream, req-perform | ||
Config/testthat/start-first: multi-req, resp-stream, req-perform | ||
Encoding: UTF-8 | ||
RoxygenNote: 7.3.2 | ||
NeedsCompilation: no | ||
Packaged: 2024-11-26 13:45:28 UTC; hadleywickham | ||
Packaged: 2025-01-18 14:13:16 UTC; hadleywickham | ||
Author: Hadley Wickham [aut, cre], | ||
Posit Software, PBC [cph, fnd], | ||
Maximilian Girlich [ctb] | ||
Maintainer: Hadley Wickham <[email protected]> | ||
Repository: CRAN | ||
Date/Publication: 2024-11-26 23:00:07 UTC | ||
Date/Publication: 2025-01-18 16:20:02 UTC |
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,12 @@ | ||
#' Is your computer currently online? | ||
#' | ||
#' This function uses some cheap heuristics to determine if your computer is | ||
#' currently online. It's a simple wrapper around [curl::has_internet()] | ||
#' exported from httr2 for convenience. | ||
#' | ||
#' @export | ||
#' @examples | ||
#' is_online() | ||
is_online <- function() { | ||
curl::has_internet() | ||
} |
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
Oops, something went wrong.