Skip to content
Prev 62882 / 63424 Next

Depends: R (>= 4.1) for packages that use |> and \(...)

Le 05/03/2025 ? 14:47, Hadley Wickham a ?crit?:
For exemple,? in one of reported files 'iterate_with_offset.Rd' ( 
https://github.com/r-lib/httr2/blob/main/man/iterate_with_offset.Rd ), 
we can see :

\examples{
req <- request(example_url()) |>
 ? req_url_path("/iris") |>
 ? req_throttle(10) |>
 ? req_url_query(limit = 50)
...

the pipe '|>' is well used but I didn't find any check for R version 
prior to 4.1. May be it is done elsewhere?

Best,
Serguei.