plumber2
Easy and Powerful Webservers in R
plumber2 is a complete rewrite of the plumber package for creating HTTP APIs in R. It maintains similar functionality to the original but makes breaking changes to improve the API design based on lessons learned from the original package’s development.
The package separates path parameters from query and body parameters for clearer request handling, adds extensive type checking and validation for inputs and outputs (including nested objects, enums, and default values), supports content negotiation with multiple serializers per endpoint, and provides simplified async handler creation. The documentation system is rebuilt on roxygen2 for better parsing and follows modern API documentation conventions.
Contributors#
Resources featuring plumber2#
There’s a new Plumber in town (Thomas Lin Pedersen, Posit) | posit::conf(2025)
There’s a new Plumber in town
Speaker(s): Thomas Lin Pedersen
Abstract:
Announcing plumber2! The popular plumber package has gotten a successor. In this talk I’ll walk the audience through the “How” and the “Why”, what it means for existing plumber APIs, and of course showcase a range of amazing things that are suddenly possible with the new iteration. If you are an existing plumber user I hope to leave you full of excitement about the future of plumber. If you have never used plumber before I hope this talk will show you just how easy it is to create modern and powerful web servers in R. posit::conf(2025) Subscribe to posit::conf updates: https://posit.co/about/subscription-management/

