[R-pkg-devel] Native pipe in package examples

Josiah Parry jo@|@h@p@rry @end|ng |rom gm@||@com
Thu Jan 25 16:27:38 CET 2024


Hey all,

I've encountered use of the native pipe operator in the examples for
'httr2' e.g.

request("http://example.com") |> req_dry_run()


Since r-oldrel (according to rversions::r_oldrel()) is now 4.2.3, can the
native pipe be used in example code?

I do notice that the package httr2 requires R >= 3.6.0 which implies that
the code itself does not use the native pipe, but the examples do.

Is this an accurate summation?

Thanks!

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list