pr_add_package {microCRAN} | R Documentation |
Creates a Plumber route that handles an incoming
R-package.
Use rather build()
to build the entire API.
pr_add_package(pr, path = "/add", repo_dir)
pr |
A Plumber router-object |
path |
The path to the endpoint |
repo_dir |
Path to local directory, where the root of the repository is.
The (source) packages will be stored locally at
|
NULL
invisibly; called to modify the response.