Skip to content

Commit 6cc21e3

Browse files
authored
Merge pull request #37 from getwilds/dev
proofr v0.4.0 Updates
2 parents 04a154a + f8f2aed commit 6cc21e3

10 files changed

Lines changed: 15 additions & 11 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: proofr
22
Title: Client for the PROOF API
3-
Version: 0.3.0.91
3+
Version: 0.4.0
44
Authors@R:
55
person("Scott", "Chamberlain", , "sachamber@fredhutch.org", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0003-1444-9135"))

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# proofr v0.4.0
2+
3+
* Bumping timeout from 5 seconds to 20 seconds (@sckott in [direct commit](https://github.com/getwilds/proofr/commit/cbe9062fd73e61992b46035e7ac2241cd8de2541))
4+
15
# proofr v0.3.0
26

37
* Swapping `httr` for `httr2` (@sckott in [#25](https://github.com/getwilds/proofr/pull/25))

R/onLoad.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ proofr_env <- new.env() # nocov start
22

33
.onLoad <- function(libname, pkgname) {
44
# use the same timezone throughout the package
5-
proofr_env$timeout_sec <<- 5
5+
proofr_env$timeout_sec <<- 20
66
} # nocov end

R/status.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#' this function again until you get the server URL
99
#' @section Timeout:
1010
#' If the PROOF API is unavailable, this function will timeout after
11-
#' 5 seconds. Contact the package maintainer if you get a timeout error.
11+
#' 20 seconds. Contact the package maintainer if you get a timeout error.
1212
#' See [proof_timeout()].
1313
#' @return A list with fields:
1414
#' - `canJobStart` (logical): can a job to make a Cromwell server be started?

R/timeout.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
#'
33
#' @export
44
#' @param sec (integer/numeric) number of seconds after which
5-
#' requests will timeout. default: 10 sec (10000 ms)
5+
#' requests will timeout. default: 20 sec (20000 ms)
66
#' @references <https://httr.r-lib.org/reference/timeout.html>
77
#' @return nothing, side effect of setting the timeout for requests
8-
proof_timeout <- function(sec = 10) {
8+
proof_timeout <- function(sec = 20) {
99
assert(sec, c("integer", "numeric"))
1010
proofr_env$timeout_sec <- sec
1111
}

man/proof_authenticate.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/proof_cancel.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/proof_start.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/proof_status.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/proof_timeout.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)