Skip to content

Commit

Permalink
Add NEWS, docs for timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Apr 22, 2024
1 parent 1b58d34 commit 5c0aed7
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 221 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# pkgsearch (development version)

* pkgsearch now uses the `timeout` option to set the limit for the total
time of each HTTP request (#125, @gladkia).

# pkgsearch 3.1.3

* No user visible changes.
Expand Down
9 changes: 9 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@ ps("gabor", size = 5)
ps("Gábor", size = 5)
```

## Configuration

### Options

* `timeout`: pkgsearch follows the `timeout` options for HTTP requests
(i.e. for `pkg_search()` and `advanced_search()`. `timeout` is the limit
for the total time of the HTTP request, and it is in seconds. See
`?options` for details.

## More info

See the [complete documentation](https://r-hub.github.io/pkgsearch/).
Expand Down
Loading

0 comments on commit 5c0aed7

Please sign in to comment.