Plumber routers can be “nested” by mounting one into another
mount() method. This allows you to compartmentalize your API
by paths which is a great technique for decomposing large APIs into smaller
files. This function mutates the Plumber router (
pr()) in place, but
also invisibly returns the updated router.
pr_mount(pr, path, router)
The host Plumber router.
A character string. Where to mount router.
A Plumber router. Router to be mounted.
A Plumber router with the supplied router mounted