gaborcsardi, This is how httr2 and other packages use the base |> pipe in examples, and still support older R, including a clean
R CMD check
:
https://github.com/tidyverse/purrr/commit/426acdd50424b8cd6029d237c4d4e81d94ec42a6#diff-611496f412cac947be720d17a0ee6d7463221d14731fbc18244756271e8f5189Ie. you need a
configure
(+configure.win
) file that creates an Rd macro on older R, that rewrites the examples with |>.
You'll also needBiarch: true
inDESCRIPTION
.Clean
R CMD check
from R 3.6.x to R-4.4.x: https://github.com/r-lib/httr2/actions/runs/7548766508